红联Linux门户
Linux帮助

DNS服务启动失败

发布时间:2011-09-15 11:38:14来源:红联作者:blue_rain
如题!
我是在fedora14下yum安装的named.caching-namesercer,bind软件也安装了的,但是service named start 直接提示的启动失败,没有任何提示(这应该说明区域配置文件是正确的吧),我的named.conf文件如下

options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};
zone "test.com" IN {
type master ;
file "named.test.com" ;
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
还有rndc:
[root@localhost named]# rndc stats
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
rndc: no server specified and no default
请问大侠,怎么回事呢?也说说我改怎么排解错误,排解错误的方法等。。小弟万分感谢
文章评论

共有 3 条评论

  1. 张晓琪 于 2011-10-28 17:49:24发表:

    先重启一下httpd服务 然后在重启DNS服务 试一下

  2. jason_liu 于 2011-10-27 17:17:06发表:

    哥们,我也正在学习dns,你看下这篇文档,我就是按这个弄的
    //m.ajphoenix.com/bbs/thread-217666-1-1.html

  3. blue_rain 于 2011-09-16 12:15:07发表:

    没人给我顶,郁闷