Go to file
Ivan Schaller ba9d301dac
check code / check-code (push) Successful in 31s Details
update dev setup
2024-02-21 16:14:05 +01:00
.gitea/workflows add first test 2024-02-21 14:59:19 +01:00
.github fix workflow name 2024-02-21 15:01:43 +01:00
dev update dev setup 2024-02-21 16:14:05 +01:00
src/octodns_netbox_dns update dev setup 2024-02-21 16:14:05 +01:00
tests add first test 2024-02-21 14:59:19 +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 update to python template for future pypi releases 2024-01-09 22:12:25 +01:00
CHANGELOG.md [bot] update changelog 2024-02-20 09:04:03 +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 add docstrings and refactor make absolute function 2024-01-25 10:51:42 +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 update dev setup 2024-02-21 16:14:05 +01:00
renovate.json update to python template for future pypi releases 2024-01-09 22:12:25 +01:00

README.md

netbox-plugin-dns source for octodns

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

config

providers:
    config:
        class: octodns_netbox_dns.NetBoxDNSSource
        # 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

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