I have a CentOS 5.3 server running BIND 9.3.6 and webmin 1.520. What I am trying to accomplish is a frontend where I can add/modify DNS records rather than manually editing the files. I would also like for it to transfer from the master to the slave.
I have installed Webmin and in the BIND section I have it displaying all the zones, however every zone has 0 records. For example it shows domain.com (In view external-in) and when I go in there I have 0 records. When I manually edit the file it shows the records.
I believe the location of important files are as follows
chroot = /var/named/chroot
zone files = /var/named/chroot/var/named/db_files_external
named.conf = /var/named/chroot/etc
There are no useful errors in /var/webmin/miniserv.error
When I create a new master zone in webmin it is able to see the records that it creates. The file it creates is in /var/named/chroot/var/named. The file name is domain.com.internal-in.hosts and does have the records in it.
All of my existing records are in /var/named/chroot/var/named/db_files_external. They are named like db.domain.com.
I tried changing the module configuration to look for zone files in /var/named/db_files_external because it was set to /var/named/ which is where it created my test zone but this did not help the existing zones.