Build Master/ Slave DNS in CentOS


 

1) Set up master DNS server (CentOS 6.5)

yum install -y bind*

Modify /etc/named.conf

Create the zone files:
/var/named/mylab.local
/var/named/56.168.192.in-addr.arpa

service named start

chkconfig named on

2) Set up slave DNS server (CentOS 6.5)

yum install -y bind*

Modify /etc/named.conf

service named start

chkconfig named on

3) Reload the zone whenever the zone file has been updated (rndc reload <zone-name>) . Remember to update the serial number as well!

Leave a comment