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

Updated on February 10, 2019
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)

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 ( as secondary dns server for linuxlab.local domain


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  How to Install and Configure Microsoft SQL Server 2012 for VMware vCenter Server 5.1 Update 1

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

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.