Skip to main content

octodns netbox-dns provider

Project description

netbox-plugin-dns provider for octodns

works with https://github.com/peteeckel/netbox-plugin-dns

config

providers:
    config:
        class: octodns_netbox_dns.NetBoxDNSProvider
        # Netbox url
        # [mandatory, default=null]
        url: "https://some-url"
        # Netbox API token
        # [mandatory, default=null]
        token: env/NETBOX_API_KEY
        # View of the zone. Can be either a string -> the view name
        # "null" -> to only query zones without a view
        # false -> to ignore views
        # [optional, default=false]
        view: false
        # When records sourced from multiple providers, allows provider
        # to replace entries coming from the previous one.
        # Implementation matches YamlProvider's 'populate_should_replace'
        # [optional, default=false]
        replace_duplicates: false
        # Make CNAME, MX and SRV records absolute if they are missing the trailing "."
        # [optional, default=false]
        make_absolute: false
        # Disable automatic PTR record creating in the NetboxDNS plugin.
        # [optional, default=true]
        disable_ptr: true
        # Disable certificate verification for unsecure https.
        # [optional, default=false]
        insecure_request: false

compatibility

actively tested on the newest netbox-plugin-dns and netbox versions

provider netbox-plugin-dns netbox
>= v0.3.3 >=0.21.0 >=3.6.0
>= v0.3.6 >=1.0.0 >=4.0.0
>= v0.3.11 >=1.2.3 >=4.2.0

limitations

the records can only be synced to netbox-dns if the zone is already existing. the provider CAN NOT create zones (as of now).

install

via pip

pip install octodns-netbox-dns

via pip + git

pip install octodns-netbox-dns@git+https://github.com/olofvndrhr/octodns-netbox-dns.git@main

via pip + requirements.txt

add the following line to your requirements file

octodns-netbox-dns@git+https://github.com/olofvndrhr/octodns-netbox-dns.git@main

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_netbox_dns-0.3.12.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

octodns_netbox_dns-0.3.12-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file octodns_netbox_dns-0.3.12.tar.gz.

File metadata

  • Download URL: octodns_netbox_dns-0.3.12.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for octodns_netbox_dns-0.3.12.tar.gz
Algorithm Hash digest
SHA256 efcc2ff7b936cc98b51d45e328d5d2def0a9fff193a83e0f7af4e6c8bada90a8
MD5 69d6aef8a601093604a31eac5c70f9c1
BLAKE2b-256 dce3cb48397cfa0b20891f8f3796abe679a87bb8f3172034b2ffbd91f01a1da5

See more details on using hashes here.

File details

Details for the file octodns_netbox_dns-0.3.12-py3-none-any.whl.

File metadata

File hashes

Hashes for octodns_netbox_dns-0.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 6183d52048f266943a84bb3dfc1c17ccfb4bf8a054f85e49f886a31c28385340
MD5 3760d1e443a1053871d82b880c0bcfce
BLAKE2b-256 20f3e23787f67124a46f8bba6426e4ba879e3a0c79f9d231d212fed20c30d1cf

See more details on using hashes here.

Supported by

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