|
在named.conf两个域文件的配置 然后分别做了域文件在/var/named/下面现在只能解析www.test.com不能解析www.test ... 别是192.168.0.234 192.168.1.1
zone "test.com" IN {
type master;
file "test.com.zone";
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "192.168.0.zone";
};
zone "test1.com" IN {
type master;
file "test1.com.zone";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "192.168.1.zone";
};<br>
用NSLOOKUP提示如下
[root@eddie root]# nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
> 192.168.1.1
Server: 192.168.0.234
Address: 192.168.0.234#53
** server can't find 1.1.168.192.in-addr.arpa: NXDOMAIN |
|