WEB开发网
开发学院操作系统Linux/Unix Linux下DNS服务器的搭建及区域委派 阅读

Linux下DNS服务器的搭建及区域委派

 2012-08-22 11:34:49 来源:WEB开发网   
核心提示:-rw-r- 1 rootnamed424 Jul 302009 named.ip6.local-rw-r- 1 rootnamed426 Jul 302009 named.local-rw-r- 1 rootnamed427 Jul 302009 named.zerodrwxrwx--- 2 named named
-rw-r----- 1 root named 424 Jul 30 2009 named.ip6.local
-rw-r----- 1 root named 426 Jul 30 2009 named.local
-rw-r----- 1 root named 427 Jul 30 2009 named.zero
drwxrwx--- 2 named named 4096 Jul 27 2004 slaves
[root@gjp99 named]#vim gjp.com.zone
image
[root@gjp99 named]# named-checkzone gjp.com gjp.com.zone
zone gjp.com/IN: loaded serial 42   OK
[root@gjp99 named]# named-checkconf /var/named/chroot/etc/named.conf
[root@gjp99 named]# service named start
Starting named:                      [ OK ]
[root@gjp99 ~]# tail -f /var/log/messages     //监控日志情况
用实机测试(hostonly 与 vmware1 连接)
image
 [root@gjp99 named]# vim /etc/resolv.conf //编辑过之后,在linux下才能使用nslookup
image
[root@gjp99 named]
# rndc reload  //无需重启服务,只改变更新的!
server reload successful
[root@gjp99 named]# nslookup www.gjp.com
Server:       192.168.2.100
Address: 192.168.2.100#53
Name:   www.gjp.com
Address: 192.168.2.100
二、配置子域bj.gjp.com
[root@gjp99 etc]# pwd
/var/named/chroot/etc
[root@gjp99 etc]# vim named.rfc1912.zones

上一页  1 2 3 4 5 6 7 8 9  下一页

Tags:Linux DNS 服务器

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接