Linux9+BIND9.2.2下DNS启动错误log????????????
Sep 24 15:09:56 localhost named[13845]: starting BIND 9.2.2-P3 -u named -t /var/named/chroot
Sep 24 15:09:56 localhost named[13845]: using 1 CPU
Sep 24 15:09:56 localhost named[13845]: loading configuration from '/etc/named.conf'
Sep 25 03:09:56 localhost named: named startup succeeded
Sep 24 15:09:56 localhost named[13845]: no IPv6 interfaces found
Sep 24 15:09:56 localhost named[13845]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 24 15:09:56 localhost named[13845]: listening on IPv4 interface eth1, 172.16.0.236#53
Sep 24 15:09:56 localhost named[13845]: command channel listening on 127.0.0.1#953
Sep 24 15:09:56 localhost named[13845]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022708
Sep 24 15:09:56 localhost named[13845]: dns_master_load: test.com:10: unknown RR type 'localhost'
Sep 24 15:09:56 localhost named[13845]: zone test199.com/IN: loading master file test.com: unknown class/type
Sep 24 15:09:56 localhost named[13845]: zone localhost/IN: loaded serial 64
Sep 24 15:09:56 localhost named[13845]: running
**********************************************************
[root@localhost root]# nslookup www.test199.com
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.
Server: 172.16.0.236
Address: 172.16.0.236#53
** server can't find www.test199.com: SERVFAIL
**************************************************************
/etc/named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "test199.com" IN {
type master;
file "test.com";
allow-update { none; };
};
include "/etc/rndc.key";
**************************************************
/var/nam/test.com
$TTL 86400
@ IN SOA www.test199.com. root.www.test199.com. (
20043 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS 172.16.0.236
www IN A 172.16.0.99ed
******************************************
/var/named/localhost.zone
$TTL 86400
$ORIGIN localhost.
@ 1D IN SOA @ root (
64 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
1D IN NS @
1D IN A 127.0.0.1
本文由lanying 发布于Linuxsky 论坛,网址:http://bbs.linuxsky.org/thread-4420-1-1.html
搜索更多相关主题的帖子:
named Sep BIND log