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