Install and configure Bind DNS Caching Server on Red Hat (CentOS) Distributions
From Kathmann Labs
[edit] Install and configure Bind DNS Caching Server on Red Hat (CentOS) Distributions
- This will assume you already have Red Hat or one of it's variants install and configured.
Install Bind
- yum install bind - or up2date -i bind on Red Hat
Configure Bind on system startup
- chkconfig --level 2345 named on
Open ports on firewall
- vi /etc/sysconfig/iptables
- add the line -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 53 -j ACCEPT
Start Bind (and restart iptables)
- /etc/init.d/iptables restart
- /etc/init.d/named restart

