Go to file
Ivan Schaller c692ff18d3
check code / check-code (push) Failing after 19s Details
update changelog / update-changelog (push) Failing after 4s Details
build and publish / build-pypackage (push) Has been cancelled Details
Bump version 0.2.1 → 0.3.0
2024-01-25 11:39:30 +01:00
.gitea/workflows add new workflows 2024-01-25 10:25:37 +01:00
.lefthook/pre-commit update to python template for future pypi releases 2024-01-09 22:12:25 +01:00
src/octodns_netbox_dns Bump version 0.2.1 → 0.3.0 2024-01-25 11:39:30 +01:00
.editorconfig update to python template for future pypi releases 2024-01-09 22:12:25 +01:00
.gitignore update to python template for future pypi releases 2024-01-09 22:12:25 +01:00
.tool-versions update to python template for future pypi releases 2024-01-09 22:12:25 +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 fix mypy issues 2024-01-09 23:07:04 +01:00
lefthook.yml update to python template for future pypi releases 2024-01-09 22:12:25 +01:00
pyproject.toml add docstrings and refactor make absolute function 2024-01-25 10:51:42 +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