DNS master server (Master): 192.168.127.147
Slave server (slave): 192.168.127.148
1. First install the DNS package on master and slave:
2. Edit the DNS configuration file on master:
Forward parsing and reverse parsing:
3, CP the template under the/var/named/directory:-A parameter is to keep the original properties of the file
4. Restart the DNS service and firewall:
5. The DNS server address will be added on the test machine:
6. Use Nslookup to resolve address:
7. Configure the DNS master standby server:
(1) Add Update address on master (IP address of slave)
(2) Configure DNS on the slave backup server:
(3) After configuring the file, restart the DNS service on master and slave:
This is the time to find two more profiles in the/var/named/slaves directory on Slave, which is the configuration file created by the connection between master and slave.
(4) parsing of the test master standby server on XP:
Graphic: Linux-dns Primary and Standby server Setup (High availability)