Skip to main content

A named YAML file provider for octoDNS

An octoDNS provider that targets a named YAML file. Useful for sharing records between multiple zones.

Installation

Command line

pip install octodns_namedfileyaml

requirements.txt/setup.py

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

Versions

Waiting for a new octodns release to support this

# Start with the latest versions and don't just copy what's here
octodns==0.9.14
octodns_namedfileyaml==0.0.1
SHAs
# Start with the latest/specific versions and don't just copy what's here
-e git+https://git@github.com/octodns/octodns.git@af23c00b266c959f4001cd809b04511128a5602b#egg=octodns
-e git+https://git@github.com/octodns/octodns_namedfileyaml.git@ec9661f8b335241ae4746eea467a8509205e6a30#egg=octodns_namedfileyaml

Configuration

Example for sharing email records between two domains managed at cloudflare:

providers:
  zones:
    class: octodns_namedfileyaml.YamlProvider
    directory: ./zones
    enforce_order: False
    default_ttl: 300
  shared.email:
    class: octodns_namedfileyaml.NamedFileYamlProvider
    directory: ./shared
    filename: mail.yaml
  cloudflare:
    class: octodns_cloudflare.CloudflareProvider
    token: env/CLOUDFLARE_TOKEN
    strict_supports: true

zones:
  example.com.:
    sources:
      - zones
      - shared.email
    targets:
      - cloudflare
  example.net.:
    sources:
      - zones
      - shared.email
    targets:
      - cloudflare

Support Information

Records

All octoDNS record types are supported.

Dynamic

NamedFileYamlProvider 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-namedfileyaml 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-namedfileyaml 0.0.2
File Size Uploaded Provenance Actions
octodns-namedfileyaml-0.0.2.tar.gz 3.6 kB Without provenance Details for octodns-namedfileyaml-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 7.1 kB

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

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

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

Download URL octodns_namedfileyaml-0.0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
432b2e897c26180daf94fb9f5122698190d6753ee5aa4571d107a62bc90692c5
BLAKE2b-256 checksum
How to use checksums
7dedb824a6e9a2ec7da3f62ece0cf56f3f4301d9e5a5625c71a3a7bdcc3e07d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Security for octodns-namedfileyaml 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