DNS配置问题??
==========named.conf文件情况=============
options {
directory "/var/named";
};
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 "chm.com" IN {
type master;
file "chm.com.zone";
}
zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.in-addr.arpa.zone";
};
include "/etc/rndc.key";
==========chm.com.zone文件情况===========
@ IN SOA chm.com. (
200101111 ; serial
14400 ; refresh after 4 hours
3600; retry after 1 hour
604800 ; expire after 1 week
86400) ; minium TTL of 1 day
;
; Nameservers
;
IN NS ns1.chm.com. ;
; IN NS ns2.chm.com. ;
;
;Domain Mail Handlers
;
chm.com. IN MK 10 mail
;
;Hosts in order
;
ns1 IN A 192.168.1.37
ns2 IN A 192.168.1.38
ns3 IN A 192.168.1.36
www IN A 192.168.1.37
ftp IN A 192.168.1.37
mail IN A 192.168.1.37
pop IN CNAME mail
=====采用nslookup测试========
>ns1.chm.com
Server: 192.168.1.37
Address: 192.168.1.37#53
** server can't find ns1.chm.com SERVFAIL