I want to share my DNS experience.
htt-consult.com labs.htt-consult.com
and a couple test sub zones, are being served from this box.
I installed EVERYTHING that bespoke of BIND, well almost everything. I wanted to make sure I had any file I might need.
[log]#grep bind rpmpkgs
bind-9.3.3-9.0.1.el5.i386.rpm bind-chroot-9.3.3-9.0.1.el5.i386.rpm bind-libs-9.3.3-9.0.1.el5.i386.rpm bind-utils-9.3.3-9.0.1.el5.i386.rpm system-config-bind-4.0.3-2.el5.centos.noarch.rpm
{log]# grep bind yum.log Aug 03 18:00:20 Updated: bind-libs.i386 30:9.3.3-9.0.1.el5 Aug 03 18:01:07 Updated: bind.i386 30:9.3.3-9.0.1.el5 Aug 03 18:04:47 Updated: bind-utils.i386 30:9.3.3-9.0.1.el5 Aug 03 18:04:48 Updated: bind-chroot.i386 30:9.3.3-9.0.1.el5
Then I went to work in the following directories:
/var/named/chroot/ etc and var/named
I have determined that you can forget about any named.whatever file in /etc/ as the chroot is really what is run.
Here is my /var/named/chroot/etc (I have 2 views, external and internal):
named.rfc1912.zones (to find this and others, remember updatedb and locate are your friends) named.acl named.external named.root <- wget ftp://ftp.rs.internic.net/domain/named.root named.root.hints named.caching-nameserver.conf <- not used, but what the heck... named.internal named.conf rndc.key
Here is some of my /var/named/chroot/var/named files:
named.broadcast named.ip6.local named.local named.zero localdomain.zone localhost.zone Plus all of my specific zone and reverse files, both internal and external views.
Once I got this all built, I have had no trouble maintaning this with webmin.
I think this covers everything.
Happy BINDings!