March 1, 2009
How to install BIND on CentOS 5
Domain Name System(DNS)
Berkeley Internet Name Domain(BIND)
Translate domain names to IP addresses or vice versa.
Check for bind packages if they are installed or not with the following:
# rpm -q bind # rpm -q bind-utils # rpm -q bind-devel # rpm -q bind-libbind-devel # rpm -q bind-libs # rpm -q bind-sdb # rpm -q bind-utils # rpm -q caching-nameserver # rpm -q system-config-bind
If they are not installed then install them with:
# yum install bind # yum install bind-chroot # yum install bind-devel # yum install bind-libbind-devel # yum install bind-libs # yum install bind-sdb # yum install bind-utils # yum install caching-nameserver # yum install system-config-bind
chmod 755 /var/named/ chmod 775 /var/named/chroot/ chmod 775 /var/named/chroot/var/ chmod 775 /var/named/chroot/var/named/ chmod 775 /var/named/chroot/var/run/ chmod 777 /var/named/chroot/var/run/named/
# chkconfig named on
# service named start
To configure a DNS client using BIND
If the DNS server is 192.168.1.100 then:
# vi /etc/resolv.conf
Insert the following line:
nameserver 192.168.1.100RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)


