下载软件
yum install bind -y
[root@localhost redhat]# vim /etc/named.conf

正向解析

反向解析
[root@localhost redhat]# cp -a /var/named/named.localhost /var/named/named.192
注:如果资源记录文件是通过/var/named/named.localhost模版拷贝修改
方法一:cp -a /var/named/named.localhost /var/named/named.xxxx
方法二:cp /var/named/named.localhost /var/named/named.xxxx
chmod o+r /var/named/named.xxxx
或者 chown .named /var/named/named.xxxx
[root@localhost redhat]# vim /var/named/named.192
[root@localhost redhat]# systemctl restart named
解析测试


完全区域传送
主服务器

服务器主机

测试结果:重启从服务器主机后,在/var/named/slaves目录下可以看到正反向的资源记录文件
增量区域传送
在主服务器的正方向区域文件进行修改

systemctl restart named
从服务器中监听日志信息
tail -f /var/log/messages