作者: lylcboy 时间: 2003-06-14 16:43 标题: 在线等待:我的dns怎么不能够重启呀??? 怎么没人知道呀???作者: lylcboy 时间: 2003-06-14 17:23 标题: 在线等待:我的dns怎么不能够重启呀??? 人哪???作者: lylcboy 时间: 2003-06-14 21:05 标题: 在线等待:我的dns怎么不能够重启呀??? 大侠,救救我!!!作者: depike 时间: 2003-06-14 22:27 标题: 在线等待:我的dns怎么不能够重启呀??? Q:When I try to use rndc, I get the error message "network unreachable" or "connection refused", even though I know named is running.
A:You probably have "default-server localhost" in /etc/rndc.conf, your /etc/hosts or DNS maps "localhost" to both the IPv4 loopback address 127.0.0.1 and the IPv6 loopback address ::1, and you do not have IPv6 fully operational. Change the "default-server localhost" to "default-server 127.0.0.1" to make sure rdnc does not try to contact the name server using IPv6.
以上内容来自ISC的官方站点,按照所说的,讲/etc/rndc.conf中的default-server localhost改为default-server 127.0.0.1试试看作者: lylcboy 时间: 2003-06-15 09:21 标题: 在线等待:我的dns怎么不能够重启呀??? 我改过了,可是启动还是不行呀,依旧是connetcion refused !作者: depike 时间: 2003-06-15 09:55 标题: 在线等待:我的dns怎么不能够重启呀??? 你的DNS服务到底启动了没呢?netstat -an看看udp 53端口开放没有,再看看/var/log/message文件中有没有named的记录?我现在怀疑你的dns服务没有根本没有起来了作者: lylcboy 时间: 2003-06-15 10:57 标题: 在线等待:我的dns怎么不能够重启呀??? 我就是启动不了呀!作者: jianxin0431 时间: 2003-06-15 11:19 标题: 在线等待:我的dns怎么不能够重启呀??? dns配置文件贴上来看看作者: lylcboy 时间: 2003-06-15 11:26 标题: 在线等待:我的dns怎么不能够重启呀??? named.conf:
// generated by named-bootconf.pl
options {
directory "/var/named";
pid-file "named.pid";
auth-nxdomain yes;
/*
* 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