netbox-plugin-dns provider for octodns
octodns provider for netbox-plugin-dns
syncs dns records from and to netbox via octodns
config
providers:
config:
class: octodns_netbox_dns.NetBoxDNSProvider
# Netbox instance url
# [mandatory]
url: "https://some-url"
# Netbox API token
# [mandatory]
token: env/NETBOX_API_KEY
# Filter by zone view. Can either be the name of the view, false or null.
# false/null -> do not filter by view.
# [optional, default=null]
view: null
# 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 "." (dot).
# You can instead also use the "octodns.processor.trailing_dots.EnsureTrailingDots" provider.
# [optional, default=false]
make_absolute: false
# Control how NS TTL is derived when reading from NetBox.
# soa_refresh = Preserve the default behavior and use the zone's soa_refresh for all NS records.
# record = Use the record TTL stored in NetBox, falling back to zone.default_ttl.
# fixed = Use ns_ttl_value for apex NS and record/default TTL for delegated NS records.
# [optional, default=soa_refresh]
ns_ttl_mode: soa_refresh
# TTL value used when ns_ttl_mode=fixed for apex NS records.
# [optional, default=14400]
ns_ttl_value: 14400
# 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
# Maximal page size of queries.
# A value of 0 means: show every item. Can cause errors with the NetBox setting: MAX_PAGE_SIZE
# [optional, default=0]
max_page_size: 0
# Allow multi threading, useful for large dns zones, see: https://github.com/netbox-community/pynetbox#threading
# [optional, default=False]
enable_threading: False
# Custom filter for zones. Can be used to filter by all zone parameters like tags, tenant or custom fields.
# The default value is to only get active zones. For more infos on how to customize this see: https://github.com/sys4/netbox-plugin-dns/blob/main/docs/using_netbox_dns.md#zone_status_customization
# See the Netbox documentation for more infos: https://netboxlabs.com/docs/netbox/reference/filtering/
# [optional, default={"active": true}]
zone_filter:
active: true
tag: foobar
tenant__n: test
# Same filter as for zones, but applying only to records.
# The default value is to only get active records. For more infos on how to customize this see: https://github.com/sys4/netbox-plugin-dns/blob/main/docs/using_netbox_dns.md#zone_status_customization
# [optional, default={"active": true}]
record_filter:
registrar: abc
tag__n: dev
soa_serial__gt: 99999
compatibility
actively tested on the newest
netbox-plugin-dnsandnetboxversions
| 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 |
>= v0.3.15 |
>=1.3.0 |
>=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
Metadata
Release files for octodns-netbox-dns 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| octodns_netbox_dns-0.4.0.tar.gz | 12.6 kB | Without provenance | Details for octodns_netbox_dns-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| octodns_netbox_dns-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for octodns_netbox_dns-0.4.0-py3-none-any.whl |
Total release size: 24.2 kB
Release files / octodns_netbox_dns-0.4.0.tar.gz
| Download URL | octodns_netbox_dns-0.4.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87d622b4821f2281e9c01b967ff333817e896b1ff0e5b8a2597ffa0a85d32954
|
|
BLAKE2b-256 checksum How to use checksums |
12425a3d8cb183feaec4d579805c0d1aa849d8685efa7b179bb5df2da6b67640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.2 {"ci":true,"cpu":"x86_64","distro":{"id":"resolute","libc":{"lib":"glibc","version":"2.43"},"name":"Ubuntu","version":"26.04"},"implementation":{"name":"CPython","version":"3.11.18"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.5 27 Jan 2026","python":"3.11.18","system":{"name":"Linux","release":"7.0.0-1019-azure"}} HTTPX2/2.16.0
|
Release files / octodns_netbox_dns-0.4.0-py3-none-any.whl
| Download URL | octodns_netbox_dns-0.4.0-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
667f6c3c9900093386bc9a455825c33780504a9b84992d953cc86087cc2c5d62
|
|
BLAKE2b-256 checksum How to use checksums |
bf4a6d966a05eb2b831344ff2cd2bb410cf098e8faec318ddd18d9416cec84a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.18.2 {"ci":true,"cpu":"x86_64","distro":{"id":"resolute","libc":{"lib":"glibc","version":"2.43"},"name":"Ubuntu","version":"26.04"},"implementation":{"name":"CPython","version":"3.11.18"},"installer":{"name":"hatch","version":"1.18.2"},"openssl_version":"OpenSSL 3.5.5 27 Jan 2026","python":"3.11.18","system":{"name":"Linux","release":"7.0.0-1019-azure"}} HTTPX2/2.16.0
|
Security for octodns-netbox-dns 0.4.0
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.