The dns-portal provides a GUI for managing basic host and network information for a site. It integrates with powerdns and is built on Django. Besides basic network information (host names and IP addresses), it also tracks basic inventory information including location, site, ownership, function, and can store adhoc notes for each object. More information on setup can be found on the HamWAN website.
virtualenv env
source env/bin/activate
pip install -r requirements.txt
python manage.py test
python manage.py syncdb
python manage.py migrate
python manage.py runserver
Open in browser: http://127.0.0.1:8000/admin/
Manually change portal_ipaddress.ip to type "inet":
sudo su postgres
psql -d portal
ALTER TABLE portal_ipaddress ALTER COLUMN ip TYPE inet USING(ipinet);
or if that fails (in newer Postgresql)
ALTER TABLE portal_ipaddress ALTER COLUMN ip TYPE inet USING ip::inet;
\q
exit
Add the domains you will be serving authoritatively in DNS > Domains. Then you will need to add SOA and NS records for each domain you are serving including in-addr.arpa and ip6.arpa (if you have IPv6 addresses). Add these records in DNA > Records. The content field for an SOA looks like this:
a.ns.hamwan.net hostmaster.hamwan.org 0 86400 7200 3600000 86400
The content field for an NS record is just the DNS name of a authoritative nameserver for that domain, for example:
a.ns.hamwan.net
b.ns.hamwan.net
You will then want to add host records with addresses for these nameservers with IP addresses. (Portal > Hosts)