Skip to main content

YAMLimproved provider for octoDNS

An octoDNS provider which brings additional features to the original YAML provider, including the ability to specify custom zone file names.

Installation

Command line

pip install octodns-yamlimproved

requirements.txt/setup.py

Pinning specific versions or SHAs is recommended to avoid unplanned upgrades.

Versions
# Start with the latest versions and don't just copy what's here
octodns==0.9.14
octodns-yamlimproved==0.0.1

Configuration

providers:
    config:
        class: octodns_yamlimproved.YamlProvider
        # The location of yaml config files (required)
        directory: ./config
        # Specify a custom zone file name
        # File present in the directory declared in "directory" without specifying the extension.
        # (optional, default empty)
        file_name: "root"
        # The ttl to use for records when not specified in the data
        # (optional, default 3600)
        default_ttl: 3600
        # Whether or not to enforce sorting order on the yaml config
        # (optional, default True)
        enforce_order: true
        # Whether duplicate records should replace rather than error
        # (optiona, default False)
        populate_should_replace: false

Support Information

Records

Supports A, AAAA, NS, MX, TXT, SRV, CNAME, and PTR.

Dynamic

YamlImprovedProvider does not support dynamic records.

Development

See the /script/ directory for some tools to help with the development process. They generally follow the Script to rule them all pattern. Most useful is ./script/bootstrap which will create a venv and install both the runtime and development related requirements. It will also hook up a pre-commit hook that covers most of what's run by CI.

Metadata

Release files for octodns-yamlimproved 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for octodns-yamlimproved 0.0.2
File Size Uploaded Provenance
octodns-yamlimproved-0.0.2.tar.gz 5.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for octodns-yamlimproved 0.0.2
File Interpreter ABI Platform
octodns_yamlimproved-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / octodns-yamlimproved-0.0.2.tar.gz

Download URL octodns-yamlimproved-0.0.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
76c78318b29a9fec334ffd77135019d83b1b042d618df03882463807bf203fff
BLAKE2b-256 checksum
How to use checksums
e2612532922447a2639d0c401933c648fd8e933207a97b30d1c8d601eb9ae701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / octodns_yamlimproved-0.0.2-py3-none-any.whl

Download URL octodns_yamlimproved-0.0.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d389a0d04ae03bf709404260837cc5e7843fcc879766f7df1a8211c049754fd4
BLAKE2b-256 checksum
How to use checksums
889ff40e5904a04bba4c707a8f5b532f96f1a0351d3d2349e744dc782588b4dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Security for octodns-yamlimproved 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page