Skip to main content

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, or "null".
        # "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 "."
        # [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
        # 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-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.14.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

octodns_netbox_dns-0.3.14-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for octodns_netbox_dns-0.3.14.tar.gz
Algorithm Hash digest
SHA256 7b88b3f603f28f17c097434e7b3af3a0a6d22af5ee08270123b5d1f4784a7550
MD5 dccaf500c39b914d05b50d7fdc08f1b7
BLAKE2b-256 6326beafdd4575eb0d6badf14a05a8bd351d8191825cd004cd14901552b2e7ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for octodns_netbox_dns-0.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8fc11f7ef931aee614c912c10bf4d0d3976dc928a2e12b4463dd217184b76444
MD5 b15d8f295f4c1d9646d690c95b7d9bb9
BLAKE2b-256 ce9cc402f9e8e92ec8165554b38869cc5c32293ac2d9a9269acd08fdabb8e3ea

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