LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 755|回复: 2

dns出现了错误

[复制链接]
发表于 2004-4-12 12:39:39 | 显示全部楼层 |阅读模式
Apr 12 12:46:56 redhat named[2252]: starting BIND 9.2.1 -u named
Apr 12 12:46:56 redhat named[2252]: using 1 CPU
Apr 12 12:46:56 redhat named: named startup succeeded
Apr 12 12:46:57 redhat named[2252]: loading configuration from '/etc/named.conf'
Apr 12 12:46:57 redhat named[2252]: no IPv6 interfaces found
Apr 12 12:46:57 redhat named[2252]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 12 12:46:57 redhat named[2252]: listening on IPv4 interface eth0, 192.168.0.2#53
Apr 12 12:46:57 redhat named[2252]: listening on IPv4 interface eth1, 10.56.21.177#53
Apr 12 12:46:57 redhat named[2252]: zone 'localhost' allows updates by IP address, which is insecure
Apr 12 12:46:57 redhat named[2252]: zone '0.0.127.in-addr.arpa' allows updates by IP address, which is insecure
Apr 12 12:46:57 redhat named[2252]: zone 'lagnzi.com' allows updates by IP address, which is insecure
Apr 12 12:46:57 redhat named[2252]: zone '0.168.192.in-addr.arpa' allows updates by IP address, which is insecure
Apr 12 12:46:57 redhat named[2252]: command channel listening on 127.0.0.1#953
Apr 12 12:46:57 redhat named[2252]: logging channel 'LAMER_log' file '/var/log/dns/dns-lamer.log': permission denied
Apr 12 12:46:57 redhat named[2252]: logging channel 'SEC_log' file '/var/log/dns/dns-sec.log': permission denied
Apr 12 12:46:57 redhat named[2252]: logging channel 'STAT_log' file '/var/log/dns/dns-stat.log': permission denied
Apr 12 12:46:57 redhat sshd:  succeeded
Apr 12 12:46:57 redhat named[2252]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2002120601
Apr 12 12:46:57 redhat named[2252]: zone 0.168.192.in-addr.arpa/IN: loaded serial 100
Apr 12 12:46:57 redhat named[2252]: zone lagnzi.com/IN: loaded serial 10000
Apr 12 12:46:57 redhat named[2252]: zone localhost/IN: loaded serial 2002120601
Apr 12 12:46:57 redhat named[2252]: running

----------------------------------------------------------------------

好象是成功了 。但是在解析redhat.langzi.com是出现了如下错误
------------------------------------------------------------------------
[root@redhat root]# nslookup
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> 192.168.0.2
Server:         192.168.0.2
Address:        192.168.0.2#53

2.0.168.192.in-addr.arpa        name = redhat.langzi.com.
> redhat.langzi.com
Server:         192.168.0.2
Address:        192.168.0.2#53

Non-authoritative answer:
*** Can't find redhat.langzi.com: No answer
>
------------------------------------------------------------------------------
下面使我的 配置文件langzi.com.zone(正向解析文件)

$TTL 86400
@        IN        SOA        redhat.langzi.com.   root.redhat.langzi.com. (
                        10000;
                        28800;
                        14400;
                        3600000;
                        86400 ;
                        )
          IN  NS redhat.langzi.com.
redhat    IN  A  192.168.0.2
-----------------------------------------------------------------------

还有这个是什么错误
--------------------------------------------------------------------------
Apr 12 12:46:57 redhat named[2252]: logging channel 'LAMER_log' file '/var/log/dns/dns-lamer.log': permission denied
Apr 12 12:46:57 redhat named[2252]: logging channel 'SEC_log' file '/var/log/dns/dns-sec.log': permission denied
Apr 12 12:46:57 redhat named[2252]: logging channel 'STAT_log' file '/var/log/dns/dns-stat.log': permission denied
 楼主| 发表于 2004-4-12 22:12:50 | 显示全部楼层
大家帮我看看,分析一下
发表于 2004-4-12 22:26:25 | 显示全部楼层
It is helpful for us to analyze these failures, if you may show the contents of
your /etc/named.conf and /et/resolv.conf.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表