Weblog entry #1 for Derevko
#1
Smbind, PHP-based tool for managing DNS zones for
Posted by Derevko on Fri 4 Jul 2008 at 17:22
Smbind is a PHP-based tool for managing DNS zones for BIND via the web.
Supports per-user administration of zones, error checking, and a PEAR DB database backend.
This tool will enable you to administer your bind-based DNS server without having to touch your zone files with a text editor, while also providing a redundant backup of the data stored in both a PEAR DB database and in the normal text configuration files.
Since it is web-accessible, those without shell access or command-line skills (or whom are just plain lazy) can enjoy DNS administration from the comfort of a remote browser.
Here some screenshots:



In order to get smbind with apt, you must use my unofficial repository (or use sid/lenny version).
Open your terminal and add my deb repository in your sources.list:
Add these lines:
and then you can update and install the package:
* WHAT TO DO AFTER INSTALLATION:
1. Add the user that runs your web server (default in debian is www-data) to the group that runs the BIND server (default in debian is bind), for example:
2. Restart your web server:
3. Include /etc/smbind/smbind.conf in your bind configuration:
4. Restart bind
* PASSWORDS:
Once the package is installed, point your browser to http://localhost/smbind/ Smbind will ask you for a user name and password, Login to the web interface with the user 'admin' and password 'admin'. (You should change admin password immediately)
Supports per-user administration of zones, error checking, and a PEAR DB database backend.
This tool will enable you to administer your bind-based DNS server without having to touch your zone files with a text editor, while also providing a redundant backup of the data stored in both a PEAR DB database and in the normal text configuration files.
Since it is web-accessible, those without shell access or command-line skills (or whom are just plain lazy) can enjoy DNS administration from the comfort of a remote browser.
Here some screenshots:
In order to get smbind with apt, you must use my unofficial repository (or use sid/lenny version).
Open your terminal and add my deb repository in your sources.list:
debian:~# vi /etc/apt/sources.listAdd these lines:
deb http://debian.iuculano.it/apt etch main contrib non-free
deb-src http://debian.iuculano.it/apt etch main contrib non-free
and then you can update and install the package:
debian:~# apt-get update && apt-get install smbind * WHAT TO DO AFTER INSTALLATION:
1. Add the user that runs your web server (default in debian is www-data) to the group that runs the BIND server (default in debian is bind), for example:
usermod -G bind www-data2. Restart your web server:
/etc/init.d/apache2 restart3. Include /etc/smbind/smbind.conf in your bind configuration:
echo 'include "/etc/smbind/smbind.conf";' >> /etc/bind/named.conf.local4. Restart bind
/etc/init.d/bind9 restart* PASSWORDS:
Once the package is installed, point your browser to http://localhost/smbind/ Smbind will ask you for a user name and password, Login to the web interface with the user 'admin' and password 'admin'. (You should change admin password immediately)