|
|
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
|
|