DNS之 has no NS records错误!

由 zxr1018 在 04-21-2004 15:37 发表:

DNS之 has no NS records错误!

说明:此DNS仅用于Cache only name server!

启动named,查看messages日志,发现如下错误:

Apr 20 14:32:58 zxr named[2036]: starting BIND 9.2.2

Apr 20 14:32:58 zxr named[2036]: using 1 CPU

Apr 20 14:32:58 zxr named[2036]: loading configuration from '/etc/named.conf'

Apr 20 14:32:59 zxr 4月 20 14:32:58 named: named 启动 succeeded

Apr 20 14:32:59 zxr named[2036]: no IPv6 interfaces found

Apr 20 14:32:59 zxr named[2036]: listening on IPv4 interface lo, 127.0.0.1#53

Apr 20 14:32:59 zxr named[2036]: listening on IPv4 interface eth0, 172.16.81.68#53

Apr 20 14:32:59 zxr named[2036]: command channel listening on 127.0.0.1#953

Apr 20 14:32:59 zxr named[2036]: zone 0.0.127.in-addr.arpa/IN: has no NS records

Apr 20 14:32:59 zxr named[2036]: zone localhost/IN: has no NS records

Apr 20 14:32:59 zxr named[2036]: running

[root@zxr etc]#

我的NS授权到底错在哪呢?麻烦指点下

配置文件如下:

1、

[root@zxr etc]# less named.conf

named.conf - configuration for bind

Any changes not supported by redhat-config-bind should be put

in /etc/named.custom

controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; };

include "/etc/rndc.key";

options {

directory "/var/named/";

// query-source address * port 53;

};

zone "." IN{

type hint;

file "named.root";

};

zone "0.0.127.in-addr.arpa" IN{

type master;

file "named.local";

allow-update{none;};

};

zone "localhost" IN{

type master;

file "localhost.zone";

allow-update{none;};

};

include "/etc/rndc.key";

2、

[root@zxr named]#

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus