Bind
綁定:忽略區域外數據錯誤 - 語法錯誤?
我不確定這裡是否有語法錯誤。使用檢查我的一個區域文件時,
/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
。我不確定上述語法是否仍然正確。非常歡迎任何回饋。
我不熟悉,
named-checkzone
但我會從您的用法中猜測它期望檢查該區域watt14net.dyndns.org
,並且您已經為它提供了一個反向區域22.168.192.in-addr.arpa
。結果它告訴你記錄是錯誤的區域