BindUpd is a web interface for managing BIND configuration file. I developed it long time ago, in summer of 2009.
- PHP >= 5.3.0
- MySQL >= 5.1
- Create blank file
named.conf.upd
(e.g. in the same directory wherenamed.conf
is located) and include it in thenamed.conf
:include "/var/named/named.conf.upd";
- Set values for BindUpd properties in
config.inc.php
:$mysql_host
- MySQL host address (e.g.locahost
)$mysql_user
- MySQL username (e.g.root
)$mysql_password
- MySQL password (e.g.passwd
)$mysql_db
- MySQL database name (e.g.bindupd
)$configFileName
- full path tonamed.conf.upd
(e.g./var/named/named.conf.upd
), access for reading and writing of this file for PHP user must be provided$path
- full path to directory where zone files are kept, with trailing slash. Should be the same directory defined inoptions
clause ofnamed.conf
(e.g./etc/cache/bind/
), access for reading and writing of this file for PHP user must be provided$reload_cms
- shell command for reloading a configuration of BIND server (e.g.rndc reload
)
- Create a database with a name, according to configured one, and execute
bindupd.ddl
to create initial tables schema.
First user with name admin
and password password
is initially created with all the database tables and records in them.
Any user that can access index.php
and register.php
can register himself in the BindUpd system. Newly created account will be initially disabled. Any user with admin privileges can enable user's account using 'Users' section.
User without administrative privileges can manage all the zones, records and directives using 'Zones' section. User with administrative privileges has got access to sections 'Users' and 'Operations'.
Initial login screen lets users authenticate using their usernames and passwords, as they were mentioned during the registration.
Zones section can be accessed using a menu located on the top of every page when user is logged in. It has got three sub-sections: View, Edit and Add. There you can view, edit or add zones, respectively. You can switch between them without page reloading using proper links below the menu.
While viewing, you can also delete zone or view zone's records or directives using proper links in the zones listing table. Records and Directives sections look the same as Zones section and can be used the same way.
Using Edit sub-section you can edit unlimited number of zones (or records, or directives), the only condition is to place a checkbox in every line where you make changes and want these changes to be saved in BIND configuration files.
Restart section allows any user to restart BIND using the command mentioned in config.inc.php
file.
Users section can be accessed only by administrators. There you can disable or enable users, and also you can set users' types โ general user or admin.
Operations section can be accessed only by administrators. There you can inspect all previous changes made in BIND configuration files using BindUpd web interface. Also you can apply filters: for a particular user and/or particular kind of operation, and sort data by any available field.