打印

Linux9+BIND9.2.2下DNS启动错误log????????????

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
每一天都在努力

TOP

zone test199.com/IN: loading master file test.com: unknown class/type
从明天起,做一个幸福的人
喂马,劈柴,周游世界
从明天起,关心粮食和蔬菜
我有一所房子,面朝大海,春暖花开
陌生人,我也为你祝福
愿你有一个灿烂的前程
愿你有情人终成眷属
愿你在尘世获得幸福
我也愿面朝大海,春暖花开
Work like you don't need the money
love like you've never been hurt
and dance like no one is watching.

TOP

Re: Linux9+BIND9.2.2下DNS启动错误log????????????

引用:
最初由 chelseaZ 发布
**************************************************
/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
******************************************
看到这里有问题

@ IN SOA test199.com. root.test199.com.
不要www

TOP

楼上两位强人.
我灌,我慢慢地灌,长年累月地灌 只要IXPUB长期存在下去,我就有进入前十的一天...........

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-10-11 02:59 京ICP证060528 号

Designed By 17DST