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

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

 2012-08-22 11:34:49 来源:WEB开发网   
核心提示:增加以下信息:zone "bj.gjp.com" IN {type master;file "bj.gjp.com.zone";allow-update { none; };};[root@gjp99 ~]# cd /var/named/chroot/var/named [roo
增加以下信息:
zone "bj.gjp.com" IN {
    type master;
    file "bj.gjp.com.zone";
    allow-update { none; };
};
[root@gjp99 ~]# cd /var/named/chroot/var/named
 [root@gjp99 named]# cp -p gjp.com.zone bj.gjp.com.zone
[root@gjp99 named]# ll
total 44
-rw-r----- 1 root named 274 Aug 20 20:11 bj.gjp.com.zone
drwxrwx--- 2 named named 4096 Aug 20 20:23 data
-rw-r----- 1 root named 274 Aug 20 20:11 gjp.com.zone
-rw-r----- 1 root named 198 Jul 30 2009 localdomain.zone
-rw-r----- 1 root named 195 Jul 30 2009 localhost.zone
-rw-r----- 1 root named 427 Jul 30 2009 named.broadcast
-rw-r----- 1 root named 1892 Jul 30 2009 named.ca
-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 bj.gjp.com.zone
image
[root@gjp99 etc]# rndc reload
server reload successful
[root@gjp99 etc]# nslookup www.bj.gjp.com
Server:       192.168.2.100
Address: 192.168.2.100#53
 
Name:   www.bj.gjp.com
Address: 192.168.3.100
Windows
image
三、委派子域 sh.gjp.com
[root@gjp99 named]# vim gjp.com.zone
image

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

Tags:Linux DNS 服务器

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