Domain-Name-System

Bind9 在轉發地址上獲得超出區域警告

  • January 16, 2013

我已經搜尋了幾個小時,在網路上幾乎所有相關的論壇站點中都發現了類似的錯誤,但沒有一個能幫助我解決我的問題。

目前我正在執行安裝了 Bind 9.7.3 的 Debian 6.0.6,我在 /var/log/syslog 中收到以下警告:

Jan 16 16:44:57 rikka named[6049]: /etc/bind/zones/unseen.horizon.db:16: ignoring out-of-zone data (nagisa.unseen.horizon)
Jan 16 16:44:57 rikka named[6049]: /etc/bind/zones/unseen.horizon.db:17: ignoring out-of-zone data (rikka.unseen.horizon)
Jan 16 16:44:57 rikka named[6049]: /etc/bind/zones/unseen.horizon.db:18: ignoring out-of-zone data (yuuta.unseen.horizon)
Jan 16 16:44:57 rikka named[6049]: zone unseen.horizon.db/IN: loaded serial 2013011613

這是我的轉發文件:

;; /etc/bind/zones/unseen.horizon.db - Forward lookup zone file for unseen.horizon
$TTL 2D
@               IN      SOA     rikka.unseen.horizon.   flaskis.unseen.horizon.  (
                       2013011613      ; Serial
                               8H      ; Refresh
                               2H      ; Retry
                               4W      ; Expire
                               2D )    ; TTL Negative Cache

@                       NS      rikka.unseen.horizon.

$ORIGIN unseen.horizon.

; @             IN      NS      rikka.unseen.horizon.
nagisa          IN      A       192.168.0.11
rikka           IN      A       192.168.0.100
yuuta           IN      A       192.168.0.10

和反向查找文件:

;; /etc/bind/zones/rev.0.168.192.in-addr.arpa - Reverse lookup zone file for unseen.horizon
$TTL 2D
$ORIGIN 0.168.192.in-addr.arpa.
@       IN      SOA     rikka.unseen.horizon.   flaskis.unseen.horizon. (
                       2013011613      ; Serial
                               8H      ; Refresh
                               2H      ; Retry
                               4W      ; Expire
                               2D )    ; TTL Negative Cache

@       IN      NS      rikka.unseen.horizon.

10      IN      PTR     yuuta.unseen.horizon.
11      IN      PTR     nagisa.unseen.horizon.
100     IN      PTR     rikka.unseen.horizon.

根據要求,我將添加我的named.conf(或者named.conf.local)

zone "unseen.horizon.db" IN {
   type master;
   file "/etc/bind/zones/unseen.horizon.db";
};

zone "0.168.192.in-addr.arpa" IN {
   type master;
   file "/etc/bind/zones/rev.0.168.192.in-addr.arpa";
};

我錯過了什麼嗎?我在這裡陷入困境(雙關語不是故意的),我真的很感謝在這件事上提供一些幫助。

你在那裡……只是改變:

zone "unseen.horizon.db" IN {

zone "unseen.horizon" IN {

引用自:https://serverfault.com/questions/469673