dns配置问题

由 whatsup 在 09-18-2004 12:47 发表:

dns配置问题

Dns配置问题

前几天配置了DNS使用nslookup和dig命令反向正向都可以通,过了几天以后在使用nslookup提示找不到服务器?!使用redhat8.0

配置如下

named.conf

zone "test.com" IN {

type master;

file "test";

allow-update { none; };

};

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

type master;

file "192.168";

allow-update { none; };

};

其他的没有改动。

相应的test正向配置文件

$TTL 86400

$ORIGIN test.com.@ 1D IN SOAtest.com.

admin.mail.test.com. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS test.com.

1D IN A 192.168.0.1

www IN A 192.168.0.1

mail IN A 192.168.0.1

反向配置文件

$TTL 86400

@ IN SOA test.com. admin.mail.test.com. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum

IN NS test.com.

1 IN PTR mail.test.com.

1 IN PTR www.test.com.


由 Snoopy 在 09-18-2004 16:50 发表:


日志怎么说 ?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 whatsup 在 09-21-2004 22:12 发表:


这是所有关于NAMED的日值!

sep 13 06:14:53 localhost named[1634]: dns_rdata_fromtext:8.8.8:11: near 'mail.test.com.':not a valid number

sep 13 06:14:53 localhost named[1634]: zone 8.8.8.in-addr.arpa/IN: loading master file 8.8.8:not a valid number

sep 13 06:14:53 localhost named[1634]: dns_rdata_fromtext: test:13:near '8.8.8.1' :not a valid number

sep 13 06:14:53 localhost named[1634]: zone test.com/IN: loading master file test not a valid number

sep 13 06:23:06 localhost named[1634]: app.c:561: unexpect

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