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!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s