绑定:忽略区域外数据错误 - 语法错误?

绑定:忽略区域外数据错误 - 语法错误?

我不确定这里是否有语法错误。当使用检查我的区域文件之一时,/usr/local/Cellar/bind/9.16.9_1/sbin/named-checkzone watt14net.dyndns.org /var/named/22.168.192.zone我得到以下信息:

/var/named/22.168.192.zone:3: ignoring out-of-zone data (22.168.192.in-addr.arpa)
/var/named/22.168.192.zone:10: ignoring out-of-zone data (22.168.192.in-addr.arpa)
/var/named/22.168.192.zone:12: ignoring out-of-zone data (252.22.168.192.in-addr.arpa)
zone watt14net.dyndns.org/IN: has 0 SOA records
zone watt14net.dyndns.org/IN: has no NS records
zone watt14net.dyndns.org/IN: not loaded due to errors.

这是我的区域文件的副本:

$TTL 86400;

22.168.192.in-addr.arpa.    IN SOA  ns.watt14net.dyndns.org.    root.watt14net.dyndns.org. (
20000531      ; serial
2H            ; refresh
3M            ; retry
12W           ; expiry
1D )          ; minimum

22.168.192.in-addr.arpa.    IN NS   ns.watt14net.dyndns.org.

252.22.168.192.in-addr.arpa.    IN PTR  cloud.watt14net.dyndns.org.

bind我已经很久没有设置了。我不确定上面的语法是否仍然正确。

非常欢迎任何反馈。

答案1

我不熟悉,named-checkzone但我从你的用法中猜测它期望检查该区域watt14net.dyndns.org,并且你已经给了它一个反向区域22.168.192.in-addr.arpa。结果,它告诉您记录位于错误的区域

相关内容