Additional supplement on automatic synchronization between DNS master and slave servers
1. Three configuration files of DNS
rpm -qc bind //查询bind软件配置文件所在路径
/etc/named.conf //主配置文件
/etc/named/rfc1912.zonrs //区域配置文件
/var/named/named.localhost //区域数据配置文件
2. Case introduction
View domain name resolution on the main server(Vim /etc/resolve.conf, plus the address of the master-slave dns server)
Modify the zone data configuration file vim /var/named/gg.com.zone of the main server
View dns acquisition on the main server
View the update time of the data configuration file of the slave serverAnd did not update sync
Modify the zone configuration file and zone data configuration file of the main server
Validation results
==Supplement: named-checkconf check file syntax format==
named-checkconf [/etc/named.conf]