|
|
nslookup和host以及dig都不能解析!提示不能连接到服务器!
本地测试,系统是AS 4 U1 ,并且已经指向DNS服务器!
named.conf配置如下:
zone "test.xstar.org" IN {
type master;
file "xstar.zone";
allow-update { none; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "xstar.local";
allow-update {none; };
};
注释掉了其它的区域申明,其它的都是模板默认的。
xstar.zone配置如下:
$TTL 1D
@ IN SOA test.xstar.org. root.test.xstar.org.
(
1053891162
3H
15M
1W
1D )
IN NS test.xstar.org.
xstar IN A 192.168.0.1
www IN CNAME xstar
xstar.local配置如下:
$TTL 1D
@ IN SOA test.xstar.org. root.test.xstar.org.
(
1053892104
1053892104
3H
15M
1W
1D )
IN NS test.xstar.org.
1 IN PTR test.xstar.org. |
|