Install and Configure Secondary (Slave) BIND DNS Server – RHEL 6 – CentOS 6

Updated on August 19, 2017
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

Secondary (Slave) BIND DNS Server – RHEL 6 – CentOS 6 After we have installed BIND as a master DNS server (centos01) (as explained in my recent video), we can now set up a secondary DNS server (centos02) with BIND on CentOS. centos02 acts as a backup if there are problems with centos01.

This video tutorial will show you how to setup and configure Secondary (Slave) BIND DNS Server on RHEL 6.x or CentOS 6.x

Note: centos01.linuxlab.local is Primary (Master) DNS server for linuxlab.local domain

We’ll make centos02.linuxlab.local ( 192.168.0.22) as secondary dns server for linuxlab.local domain

Steps:

1. Define centos02 as Name Server in the primary zone

2. Install bind on other server

3. Configure /etc/named.conf on centos02 (secondary dns server)

Related Article  Step by Step Upgrade from VMware vCenter Server 5.0 to vCenter Server 5.1.0b

4. Allow zone transfer to only our secondary dns server in primary dns server
allow-transfer { 192.168.0.22; };

5. start dns server service on secondary server
service named start

6. Add A record to primary server and test the zone transfer

7. Enable named service on secondary dns server
chkconfig named on

centos02 is now running as secondary (slave) dns server for linuxlab.local domain. Hope you found it informative and useful. Any questions or comments are welcomed.