Go to file
Jeffrey Forman 9dcb07e996 Display IP address along side server name in server list 2012-11-26 22:05:44 -05:00
binder Display IP address along side server name in server list 2012-11-26 22:05:44 -05:00
config Add working django.wsgi and apache config file for inclusion 2012-03-08 22:35:13 -05:00
.gitignore Ignore more types of temporary files left around 2012-10-28 13:48:50 -04:00
README.markdown Update readme documentation. 2012-04-19 20:10:29 -04:00
manage.py Bring things up to 1.4 standards. A LOT of file moves, simplifying of paths. Removed bcommon directory under binder 2012-10-28 14:49:15 -04:00

README.markdown

Binder

Home: A Django web application for viewing and editing your BIND DNS zones.

Requirements

Packages:

Installation & Configuration

BIND Name Servers

In each of the BIND servers you wish to be able to query, the following stanza will be needed in your named.conf: This tells BIND to publish statistics on all interfaces on tcp port 853. There is a simple ACL allowing localhost and the noted subnet, 10.10.0.0/24, to access statistics. This can be verified by querying your DNS server with your perferred web browser at http://dnsserver:853

In each zone specification, you will need to determine how locked down you want zone updates and transfer to be.

include "/etc/bind/dynzone.key";

statistics-channels {
    inet * port 853 allow { 10.10.0.0/24; };
};

controls {
    inet * port 953 allow { 10.10.0.0/24; } keys { dynzone-key; };
};

zone "dynzone.yourdomain.org" IN {
    type master;
    file "/var/cache/bind/master/db.dynzone.yourdomain.org";
    allow-update { key dynzone-key; };
};

Where /etc/bind/test.key:

key dynzone-key {
    algorithm hmac-md5;
    secret "foobar...BhBrq+Ra3fBzhA4IWjXY85AVUdxkSSObbw3D30xgsf.....";
};

Django Application

Deploy the Django application as you see fit, and create the database via manage.py syncdb.

Using the Admin UI, add each DNS Server to the 'Bind Servers' model under the bcommon app.

Once you have completed this, surf over to the URL where the binder Django app is installed and enjoy.

Todo

  • Associate Keys with DNS Servers
  • Should we auto-populate the DB with a DNS Server's zones upon add?