- 论坛徽章:
- 0
|
我做的dns服务器虽然可以正常解析使用但是有个问题 有时候用几天就会发现突然不能解析,在服务器上看到服务是启的,感觉好像是服务挂死乐一样,只有重启后才能正常,另外重启的时候会提示我 Stopping named: rndc: connect failed: connection refused
这是我的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;
};
//
// 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 "intcall.net" IN {
type master;
file "zong.intcall.net";
allow-update { none; };
};
zone "upintcall.net" IN {
type master;
file "upzong.intcall.net";
allow-update { none; };
};
"/etc/named.conf" 49L, 992C 49,0-1 Bot
/*
* 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;
};
//
// 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 "intcall.net" IN {
type master;
file "zong.intcall.net";
allow-update { none; };
};
zone "upintcall.net" IN {
type master;
file "upzong.intcall.net";
allow-update { none; };
};
各位老大帮我看看是那的问题!谢谢了! |
|