How to set up a secondary DNS server in CentOS
This post was originally written for xmodulo . In the previous tutorial , we created a primary DNS server (ns1) for a test domain example.tst . In this tutorial, we will create a secondary DNS server (ns2) for the same domain by using bind package on CentOS. When it comes to setting up a secondary DNS server, the following factors should be kept in mind. You do NOT need to manually create forward and reverse zone files in the secondary DNS server. The zone files will be periodically synced from the primary DNS server automatically. Whenever any zone file is modified in the primary DNS server, the parameter ' serial ' should be updated. The secondary DNS server will initiate synchronization (zone transfer) only if serial at the primary server has been changed. We assume that the IP address of the secondary DNS server to be set up is 172.16.1.4. Let us start installing. Setting up Hostnames Just like the primary DNS server, the hostname o...