|
我用mandrake9.1配置好dns服务器,然后运行显示ok!
但我用/etc/rc.d/init.d/named status后显示
rndc: connect failed: connection refused
为什么?dns没有运行!
named.conf内容:
options {
directory "/var/named";
# forwarders {10.0.0.254; };
};
zone "." {
type hint;
file "named.ca";
};
zone "lwnet.cc" {
type master;
file "lwnet.zone";
};
zone "0.0.10.in-addr.arpa" {
type master;
file "lwnet.arpa";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
lwnet.zone内容为:
@ IN SOA server1.lwnet.cc. liuwei.lwnet.cc.
( 2003072001 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Default_ttl
IN NS server1.lwnet.cc.
IN MX 10 server1.lwnet.cc.
server1 IN A 10.0.0.1
ii800 IN A 10.0.0.2
lwnet-733 IN A 10.0.0.3
proxy IN A 10.0.0.254
www IN CNAME server1.lwnet.cc.
mail IN CNAME server1.lwnet.cc.
ftp IN CNAME server1.lwnet.cc.
news IN CNAME server1.lwnet.cc.
lwnet.arpa内容为:
@ SOA server1.lwnet.cc. liuwei.lwnet.cc. (
2003072001 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Default_ttl
IN NS server1.lwnet.cc.
1 IN PTR server1.lwnet.cc.
2 IN PTR ii800.lwnet.cc.
3 IN PTR lwnet-733.lwnet.cc.
254 IN PTR proxy.lwnet.cc.
请帮忙看一下吧!谢谢!
:help :help :help :help :help |
|