BIND问题

由 michaelshen 在 11-20-2002 22:08 发表:

BIND问题

root@redhat73 named]# /etc/rc.d/init.d/named status

number of zones: 4

debug level: 0

xfers running: 0

xfers deferred: 0

soa queries in progress: 0

query logging is OFF

server is up and running

[root@redhat73 named]#

[root@redhat73 named]# ping www.sina.com.cn

ping: unknown host www.sina.com.cn

1. /etc/named.conf 指明用自身的IP地址作域名解析,named.conf曾经改了一下,保存过,但又恢复了原样,

2. /etc/resolv.conf 只有一行 nameserver x.x.x.x

3. ntsysv 里named 项前面打了勾了. /etc/rc.d/init.d/named restart了一下.

如此这般,为什么该rh8.0不能给自己作域名解析呢, named.conf好像也没有改动过啊.

[root@redhat73 named]# /etc/rc.d/init.d/named stop

Stopping named: [ OK ]

[root@redhat73 named]# /usr/sbin/named -g

Nov 20 22:10:29.463 starting BIND 9.2.0 -g

Nov 20 22:10:29.464 using 1 CPU

Nov 20 22:10:29.474 loading configuration from '/etc/named.conf'

Nov 20 22:10:29.504 no IPv6 interfaces found

Nov 20 22:10:29.505 listening on IPv4 interface lo, 127.0.0.1#53

Nov 20 22:10:29.506 listening on IPv4 interface eth0, 211.91.23.130#53

Nov 20 22:10:29.516 command channel listening on 127.0.0.1#953

Nov 20 22:10:29.516 ignoring config file logging statement due to -g option

Nov 20 22:10:29.517 couldn't open pid file '/var/run/named/named.pid': Permission denied

Nov 20 22:10:29.517 exiting (due to early fatal error)

以上是执行/usr/sbin/named -g的显示结果.


由 pandonny 在 11-21-2002 09:49 发表:


resolv.conf文件里定义的dns服务器是有效的吗?


关爱社区,共建家园!


由 solaris 在 11-21-2002 10:21 发表:


/etc/named.conf 指明用自身的IP地址作

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus