/netbox-plugin-dns

NetBox DNS is a NetBox plugin for managing DNS data.

Primary LanguagePythonMIT LicenseMIT

NetBox DNS

NetBox DNS is a NetBox plugin for managing DNS views, zones, name servers and records.

PyPi Stars Badge Forks Badge Pull Requests Badge Issues Badge GitHub contributors License Badge

Features

  • Manage DNS name servers
  • Manage DNS zone information, automatically generating SOA and NS records
  • Manage DNS records
  • Automatically create and update PTR records for A and AAAA records
  • Optionally organize DNS zones in views to cater for split horizon DNS and multi-site deployments

NetBox DNS is using the standardized NetBox plugin interface, so it also takes advantage of the NetBox tagging and change log features.

Requirements

  • NetBox 3.5 or higher
  • Python 3.8 or higher

Installation & Configuration

Installation

$ source /opt/netbox/venv/bin/activate
(venv) $ pip install netbox-plugin-dns

Configuration

Add the plugin to the NetBox config. ~/netbox/configuration.py

PLUGINS = [
    "netbox_dns",
]

To permanently mount the plugin when updating NetBox:

echo netbox-plugin-dns >> ~/netbox/local_requirements.txt

To add the required netbox_dns tables to your database run the following command from your NetBox directory:

./manage.py migrate

Full reference: Using Plugins - NetBox Documentation

Screenshots

Zones

Zone Detail

Records

Record Detail

Contribute

Contributions are always welcome! Please see: contributing guide

License

MIT