BIND DNS server can be install via Webmin
and before you do any configuration to the services you run the following command in shell first
yum install bind-chroot
cause you will get the following error
Download failed : Failed to open /var/named/chroot/var/run/named.pid for writing : Bad file descriptor
After all the configuration of the MASTER zone and SLAVE zone, you need to configure your firewall to accept the DNS request by adding the port 53
iptables -I INPUT -p tcp --dport 53 -j ACCEPT;
iptables -I INPUT -p udp --dport 53 -j ACCEPT;
NOTE: TCP for zone transfer, and UDP for DNS request.
and you need to save the configuration file to take effect
/etc/init.d/iptables save