The second part of the DNS domain name resolution experiment trilogy-DNS master-slave domain name server

DNS master-slave domain name server

Main server configuration

Modify the zone configuration file vim /etc/named.conf of the primary domain name server

Modify the zone configuration file vim /etc/named.rfc1912.zones

Note that you must modify the DNS to point to the address vim /etc/resolv.conf

Above is the master server and below is the slave server

Modify from server configuration

Main area configuration vim /etc/named.conf

Modify the zone configuration file vim /etc/named.rfc1912.zones

Modify the DNS to point to the address vim /etc/resolv.conf

Restart the service and turn off the firewall

Guess you like

Origin blog.csdn.net/Alen686/article/details/114228570