我搜索了几个小时,在网络上几乎所有相关的论坛网站上都发现了类似的错误,但没有一个能帮助我解决问题。
目前,我正在运行安装了 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";
};
我是不是漏掉了什么?我现在陷入困境(不是故意的),我真的很希望有人能帮我解决这个问题。
答案1
就这样...只需改变:
zone "unseen.horizon.db" IN {
到
zone "unseen.horizon" IN {