LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 803|回复: 4

dns配置问题

[复制链接]
发表于 2004-9-18 12:47:56 | 显示全部楼层 |阅读模式
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.
发表于 2004-9-18 16:50:11 | 显示全部楼层
日志怎么说 ?
 楼主| 发表于 2004-9-21 22:12:13 | 显示全部楼层
这是所有关于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: unexpected error:

sep 13 06:23:06 localhost named[1634]: isc_app_shutdown() pthread_kill: no such process

sep 17 00:00:55 localhost named[1622]:zone localhost/IN: loaded serial 42
发表于 2004-9-22 17:34:59 | 显示全部楼层
格式和路径不对,检查一下
 楼主| 发表于 2004-9-23 14:36:21 | 显示全部楼层
能说的详细一些吗?!谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表