RedHat Linux AS5X DNS配置(3)

检查:
[root@]# named-checkzone linuxidc.com /var/named/linuxidc.com.zone
zone linuxidc.com/IN: loaded serial 42
OK
[root@]# named-checkzone linuxidc.com /var/named/1.1.1.zone
zone linuxidc.com/IN: loaded serial 1997022700
OK
如出错查看日志
[root@]# tail   /var/log/messages | grep named

测试:
[root@]# nslookup ftp.linuxidc.com
Server:         1.1.1.10
Address:        1.1.1.10#53
Name:   ftp.linuxidc.com
Address: 1.1.1.10

[root@]# nslookup localhost
Server:         1.1.1.10
Address:        1.1.1.10#53
Name:   localhost
Address: 127.0.0.1
测试成功!!大功告成!!

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://127.0.0.1/wyyxpd.html