octodns netbox-dns provider
Project description
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
# Only include zones with this status when dynamic zones are used, e.g. "*".
# [optional, default=active]
zone_status_filter: active
# Only include records with this status when records are listed from a zone.
# [optional, default=active]
record_status_filter: active
# 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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file octodns_netbox_dns-0.3.16.tar.gz.
File metadata
- Download URL: octodns_netbox_dns-0.3.16.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.11.15 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1317c89a233d518b84d331c02187e9416743ec1151ce08e10b820077d79d4d9f
|
|
| MD5 |
ff54bb227953958f6588f46c411ebc1e
|
|
| BLAKE2b-256 |
e80edc1fc44773bbb65a489589df925b4b8bef6c5b4e790b13a9096a5a682332
|
File details
Details for the file octodns_netbox_dns-0.3.16-py3-none-any.whl.
File metadata
- Download URL: octodns_netbox_dns-0.3.16-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.5 cpython/3.11.15 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4ecbef67cd1d911af418713af6acb8e1217466c955ddc7cb4a91c71df6890bb
|
|
| MD5 |
17de52e4b30df1014c028b0be07e6c41
|
|
| BLAKE2b-256 |
4e47f9fa7d3bcdc37b04914695b4f594ef75b2c50228f29e5b49ed0c55afcd80
|