Skip to main content

YAMLimproved provider for octoDNS

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octodns-yamlimproved-0.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

octodns_yamlimproved-0.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file octodns-yamlimproved-0.0.2.tar.gz.

File metadata

  • Download URL: octodns-yamlimproved-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for octodns-yamlimproved-0.0.2.tar.gz
Algorithm Hash digest
SHA256 76c78318b29a9fec334ffd77135019d83b1b042d618df03882463807bf203fff
MD5 28b0d4721ef20d76e186f48cd696e10b
BLAKE2b-256 e2612532922447a2639d0c401933c648fd8e933207a97b30d1c8d601eb9ae701

See more details on using hashes here.

File details

Details for the file octodns_yamlimproved-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for octodns_yamlimproved-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d389a0d04ae03bf709404260837cc5e7843fcc879766f7df1a8211c049754fd4
MD5 faf7dfdfca4c8fc56db52f76f5ead7c7
BLAKE2b-256 889ff40e5904a04bba4c707a8f5b532f96f1a0351d3d2349e744dc782588b4dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page