由 eddie_we 在 11-07-2003 12:41 发表:
我遇到的问题是怎么在本机用DNS做两个master域啊?和楼下的问题差不多
在named.conf两个域文件的配置 然后分别做了域文件在/var/named/下面现在只能解析 www.test.com不能解析www.test1.com该...是192.168.0.234 192.168.1.1
zone "test.com" IN {
type master;
file "test.com.zone";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "192.168.0.zone";
};
zone "test1.com" IN {
type master;
file "test1.com.zone";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "192.168.1.zone";
};
1<br/>
用NSLOOKUP提示如下
[root@eddie root]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the dig' or
host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> 192.168.1.1
Server: 192.168.0.234
Address: 192.168.0.234#53
** server can't find 1.1.168.192.in-addr.arpa: NXDOMAIN
由 eddie_we 在 11-07-2003 13:49 发表:
help
由 bigsw 在 11-07-2003 15:25 发表:
把你的 /var/named下的
test.com.zone
test1.com.zone
192.168.0.zone
三个文件也贴出来看看
郁闷中.....学习中......
由 eddie_we 在 11-07-2003 15:39 发表:
我估计这里弄错了我做了四个文件呵呵~ test.com.zone test1.com.zone 192.168.0.zone 192.168.1.zone 马上放上来
由 eddie_we 在 11-07-2003 15:40 发表:
test.com.zone
$TTL 86400
@ IN SOA ns.test.com. root.test.com. (
2003102801;
3H;
1M;
2W;
1D );
IN NS ns.test.com.
IN MX 1 mail.test.com.
ns IN A 192.168.0.234
www IN CNAME ns
mail IN CNAME ns
由 eddie_we 在 11-07-2003 15:41 发表:
192.168.0.zone
$TTL 86400
@ IN SOA ns.test.com. root.test.com. (
2003102801;
3H;
1M;
2W;
1D );
IN NS ns.test.com.
234 IN PTR ns.test.com.
234 IN PTR mail.test.com.
234 IN PTR www.test.com.
由 eddie_we 在 11-07-2003 15:41 发表:
test1.con.zone
$TTL 86400
@ IN SOA ns.test1.com. root.test1.com. (
2003110701;
3H;
1M;
2W;
1D );
IN NS ns.test1.com.
IN MX 1 mail.test1.com.
ns IN A 192.168.1.1
www IN CNAME ns
mail IN CNAME ns
由 eddie_we 在 11-07-2003 15:42 发表:
192.168.1,zone
$TTL 86400
@ IN SOA ns.test1.com. root.test1.co