DNS请教

由 e人 在 10-28-2004 12:58 发表:

DNS请教

named.conf配置文件为:

zone "." IN {

type hint;

file "named.ca";

};

zone "localhost" IN {

allow-update { none; };

type master;

file "localhost.zone";

};

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

allow-update { none; };

type master;

file "named.local";

};

zone "zyy123.com" IN {

type master;

file "zyy123.com.zone";

};

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

type master;

file "zyy123.com.arpa";

};

include "/etc/rndc.key";

正向配置为:

$TTL 86400

@ IN SOA mail.zyy123.com. root.mail.zyy123.com. (

14 ; serial

28800 ; refresh

14400 ; retry

3600000 ; expire

86400 ; ttl

)

IN NS mail.zyy123.com.

IN A 192.168.0.167

mail IN A 192.168.0.167

www IN A 192.168.0.167

www IN CNAME mail.zyy123.com.

zyy123.com. IN MX 10 mail.zyy123.com.

反向文件为:

$TTL 86400

@ IN SOA mail.zyy123.com. root.mail.zyy123.com.

(

20040730 ;serial number

2h ;refresh timeout

40m ;retry refresh timeout

1w ;expire timeout

2h ;TTL time

)

IN NS mail.zyy123.com.

167.0.168.192.in-addr.arpa IN PTR www.zyy123.com.

167.0.168.192.in-addr.arpa IN PTR ftp.zyy123.com.

167.0.168.192.in-addr.arpa IN PTR mail.zyy123.com.

167.0.168.192.in-addr.arpa IN PTR bbs.zyy123.com.

log为

Oct 28 12:03:53 mail named: named Æ&&& succeeded

Oct 28 12:03:53 mail named[1902]: no IPv6 interfaces found

Oct 28 12:03:53 mail named[1902]: listening on IPv4 interface lo, 127.0.0.1#53

Oct 28 12:03:53 mail named[1902]: listening on IPv4 interface eth0, 192.168.0.167#53

Oct 28 12:03:53 mail named[1902]: command channel listening on 127.0.0.1#953

Oct 28 12:03:53 mail named[1902]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022703

Oct 28 12:03:53 mail named[1902]: dns_rdata_fromtext: zyy123.com.arpa:2: near eol: unexpected end of input

Oct 28 12:03:53 mail named[1902]: zone 0.168.192.in-addr.arpa/IN: loading master file zyy123.com.arpa: unexpected end of input

Oct 28 12:03:53 mail named[1902]: dns_master_load: zyy123.com.zone:14: www.zyy123.com: CNAME and other data

Oct 28 12:03:53 mail named[1902]: zone zyy123.com/IN: loading master file zyy123.com.zone: CNAME and other data

Oct 28 12:03:53 mail named[1902]: dns_master_load: localhost.zone:15: unknown RR type 'IN'

Oct 28 12:03:53 mail named[1902]: zone localhost/IN: loading master file localhost.zone: unknown class/type

请问一下,我的DNS是哪里有问题?

谢谢了


由 gmx_163 在 10-30-2004 10:56 发表:

给你找找错

1.zone "0.168.192.in-addr.arpa" IN 中file "zyy123.com.arpa"是否应该为file "zyy123.com.rev",我查

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