环境:
centos 7.9
地址:192.168.200.100
1 [root@server named]# systemctl restart named
1 [root@server named]#chown -R named. /var/named
1 [root@server named]# chmod 640 long.zone 192.168.200.zone 2 [root@server named]# chgrp named long.zone 192.168.200.zone
1 [root@server named]# systemctl restart named
1 [root@server named]# host long.com
1 [root@server named]# host 192.168.200.100