DNS求教
我的dns服务配置文件如下:
/etc/named.conf
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "ytkj.com.cn"{
type master;
file "named.ytkj.com.cn";
};
zone "0.0.127.in-addr.arpa"{
type master;
file "named.local";
};
zone "3.81.10.in-addr.arpa"{
type master;
file "named.10.81.3";
};
/var/named/named.10.81.3
@ IN SOA http://www.ytkj.com.cn. root.www.ytkj.com.cn. (
2001103101 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS http://www.ytkj.com.cn.
5 IN PRT http://www.ytkj.com.cn.
/var/named/named.ytkj.com.cn
@ IN SOA http://www.ytkj.com.cn. root.www.ytkj.com.cn. (
2001103101 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS www
IN MX 10 www
ytkj.com.cn. IN A 10.81.3.5
www IN A 10.81.3.5
我的问题是这样的,用nslookup测试,正向解析正确,反向解析出错。Non-existent host/domain。
请各位英雄援手。