Go to file
Ivan Schaller 77ac5fbc07
check code / check-code (push) Successful in 34s Details
Merge pull request 'chore(deps): update lscr.io/linuxserver/netbox docker tag to v3.7.6' (#20) from renovate/lscr.io-linuxserver-netbox-3.x into main
Reviewed-on: #20
2024-04-30 08:31:21 +02:00
.gitea/workflows update ci files for github 2024-02-29 13:06:59 +01:00
.github update ci files for github 2024-02-29 13:06:59 +01:00
dev chore(deps): update lscr.io/linuxserver/netbox docker tag to v3.7.6 2024-04-22 20:15:10 +02:00
src/octodns_netbox_dns Bump version 0.3.4 → 0.3.5 2024-03-04 17:08:41 +01:00
tests fix tests 2024-03-01 22:51:48 +01:00
.editorconfig update to python template for future pypi releases 2024-01-09 22:12:25 +01:00
.gitignore add dev setup 2024-02-21 14:48:11 +01:00
.tool-versions chore(deps): update dependency just to v1.25.2 2024-03-11 08:16:17 +01:00
CHANGELOG.md [bot] update changelog 2024-03-04 16:09:15 +00:00
CONTRIBUTING.md add CONTRIBUTING.md 2024-02-20 09:13:23 +01:00
LICENSE first commit 2022-05-01 21:23:21 -05:00
MANIFEST.in update query for views and use hatch as a build tool 2023-11-09 13:08:03 +01:00
README.md rename class and add new tests 2024-02-28 16:07:32 +01:00
justfile update dev setup 2024-02-21 16:14:05 +01:00
lefthook.yml add issue templates, ci linting and update pre-commit 2024-02-20 08:34:56 +01:00
pyproject.toml chore(deps): update dependency octodns to v1.7.0 2024-04-30 08:17:40 +02:00
renovate.json update to python template for future pypi releases 2024-01-09 22:12:25 +01:00

README.md

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

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

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