Get the App
SLTechnology News&Howtos  ›  Servers  › 

Configuration and function of DNS Master and Slave Server

Shulou Source: shulou.com Published: 2022-06-03 08:18:34 12月06日 Update

What the editor shares today is the configuration and function of the DNS master-slave server. Maybe you are no stranger to the server, or you have never known the server. But don't worry, today the editor will explain the principle of the server with the simplest description.

From the role of the server 1. As the backup server of the primary DNS 2. As the master DNS, the load server DNS master-slave server configuration is divided into two steps: first, configure the master server details and process refer to https://blog.51cto.com/14557905/2453070 2, configure the slave server 1. Install bind yun-y install bind2. View listening port

3. Change the main configuration file (/ etc/named.conf)

4. Modify the zone profile

5. Modify the zone profile of the primary server

6. After the modification, restart the named service of the master server and turn on the slave server. At this time, you can see that the directory / var/named/slaves/ is the same as kgc.com.zone.

The test modifies the slave server / etc/resolv.conf configuration file ip address to point to the local host address, and configure the master-slave DNS server for your own resolution.

Test with the host command

For more information:

The solution to the non-synchronization of DNS master and slave servers

The method of Building DNS Master-Slave Server

These are the details of the configuration and function of the DNS master-slave server. Do you have anything to gain after reading it? If you want to know more, welcome to the industry information!

Tags: Service server configuration master / slave file function content region address method more information test stranger no host principle command backup that is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS NVidia Docker Xiaomi Shulou Tech Info