Chinaunix
标题:
求助,bind问题
[打印本页]
作者:
torylf
时间:
2011-01-21 09:44
标题:
求助,bind问题
在windows2003上安装了bind,按照相关说明配置成功了,也解析正常,隔了一晚上,什么都没动,就突然不解析了,然后过了好久都是同样的问题,怎么也搞不定了
就是不解析
nslookup 就是 cache2.ahhfptt.net.cn can't find xxxx.com:server failed
named.conf 配置文件
acl "trust-lan" { 127.0.0.1/8; 10.0.0.0/24;};
options {
directory "C:\WINDOWS\system32\dns\etc";
recursion no;
version "0.0.0";
allow-transfer { "trust-lan";};
allow-notify { "trust-lan"; };
auth-nxdomain no;
forwarders { };
};
key "rndc-key" {
algorithm hmac-md5;
secret "/57+EO4PNeGbLZXtFLKw4A==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
logging {
channel warning
{ file "C:\WINDOWS\system32\dns\log\dns_warnings.txt" versions 3 size 1240k;
severity warning;
print-category yes;
print-severity yes;
print-time yes;
};
channel general_dns
{ file "C:\WINDOWS\system32\dns\log\dns_logs.txt" versions 3 size 1240k;
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
category default { warning; };
category queries { general_dns; };
};
include "cnc.conf";
view "view_cnc" {
match-clients { CNC; };
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
include "master/cnc.def";
};
view "view_any" {
match-clients { any; };
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
include "master/telecom.def";
};
复制代码
$TTL 3600
$ORIGIN xxxx.com.
@ IN SOA ns1.xxxx.com. root.xxxx.com.(
20110118001 ;Serial
3600 ; Refresh ( seconds )
900 ; Retry ( seconds )
68400 ; Expire ( seconds )
15 );Minimum TTL for Zone ( seconds )
;
@ IN NS ns1.xxxx.com.
NS1 IN A 192.168.98.111
@ IN A 192.168.98.113
www IN A 192.168.98.113
test IN A 192.168.98.115
* IN A 192.168.98.113
;
;end
复制代码
ns1.xxxx.com 是注册过的ns
好久都找不到原因,谢谢了{:2_175:}
作者:
killua
时间:
2011-01-21 09:52
回复
1#
torylf
你nslookup指定的dns是否开放递归查询,如果是你自己配置的dns服务器,我看是没打开的
recursion no;
作者:
torylf
时间:
2011-01-21 09:54
如果没有开放,该如何开放呢,求指点。刚配置的时候是正常解析的
作者:
killua
时间:
2011-01-21 10:05
回复
3#
torylf
recursion yes;
作者:
torylf
时间:
2011-01-21 10:09
修改了,重启了bind 还是不行 cache2.ahhfptt.net.cn can't find xxxx.com:server failed
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2