- 论坛徽章:
- 0
|
公司有两台DNS服务器 都经过授权,最近有台服务器出了问题 格了重装DNS做的和原来一样,怎么就不能解析了呢 文件都是备份过来的, 是不是授权出了问题?!
/etc/named.conf文件:
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
recursion yes;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "zhjjy.com.cn" IN {
type master;
file "zhjjy.com.cn.zone";
allow-update { none; };
};
/var/named/zhjjy.com.cn.zone:
$TTL 86400
@ IN SOA zhjjy.com.cn. root. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS zhjjy.com.cn.
IN A 219.232.120.47
ns1 IN A 219.232.120.47
ns2 IN A 219.232.120.48
www IN A 219.232.120.48
BIND版本:
[root@localhost named]# rpm -qa bind
bind-9.2.1-16
[root@localhost named]# service named status
number of zones: 11
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
高手帮看下 哪里有问题 named.conf文件我没帖全 还有很多ZONE就没帖出来了
C:\>ping www.zhjjy.com.cn -t
Ping request could not find host www.zhjjy.com.cn. Please check the name and try
again.
C:\>
[ 本帖最后由 dotgame 于 2006-7-29 12:35 编辑 ] |
|