- 论坛徽章:
- 0
|
环境:solaris 10+ bind 9.2.4
配置没有问题,因为同样的配置在别的机器上运行正常。使用ps -ef |grep named 能看到进程,ping地址也没有问题。
一、用nslookup命令测试
DNS request timed out.
timeout was 2 seconds.
*** Can't find server name for address 192.168.1.7: Timed out
解析自己设定的域名,返回消息是server failed
二、打开messages文件
May 1 17:26:11 mail named[115]: [ID 873579 daemon.notice] exiting
May 1 17:27:23 mail named[613]: [ID 873579 daemon.notice] starting BIND 9.2.4
May 1 17:27:23 mail named[613]: [ID 873579 daemon.notice] command channel liste
ning on 127.0.0.1#953
May 1 17:27:23 mail named[613]: [ID 873579 daemon.notice] couldn't add command
channel ::1#953: address not available
May 1 17:27:23 mail named[613]: [ID 873579 daemon.warning] /etc/test.net:1: no
TTL specified; zone rejected
May 1 17:27:23 mail named[613]: [ID 873579 daemon.error] zone test.net/IN: loa
ding master file /etc/test.net: no ttl
May 1 17:27:23 mail named[613]: [ID 873579 daemon.notice] running
May 1 17:31:39 mail named[613]: [ID 873579 daemon.notice] couldn't add command
channel ::1#953: address not available
May 1 17:31:39 mail named[613]: [ID 873579 daemon.error] zone xxxx.net/IN: has
no NS records
(NS和TTL报错我自己可以解决)
三、named -gc /etc/named.conf
May 01 17:49:40.476 starting BIND 9.2.4 -gc /etc/named.conf
May 01 17:49:40.477 using 1 CPU
May 01 17:49:40.497 loading configuration from '/etc/named.conf'
May 01 17:49:40.500 listening on IPv4 interface lo0, 127.0.0.1#53
May 01 17:49:40.503 binding TCP socket: address in use
May 01 17:49:40.503 listening on IPv4 interface ge0, 192.168.1.7#53
May 01 17:49:40.504 binding TCP socket: address in use
May 01 17:49:40.517 couldn't add command channel 127.0.0.1#953: address in use
May 01 17:49:40.518 couldn't add command channel ::1#953: address not available
May 01 17:49:40.519 ignoring config file logging statement due to -g option
May 01 17:49:40.526 zone test.net/IN: has no NS records
May 01 17:49:40.526 running
请各位大虾帮忙,我实在没有办法了,郁闷呀
[ 本帖最后由 gms168 于 2007-5-1 18:32 编辑 ] |
|