こんにちは、今野@BBWAVESです。
Vine 2.1.5で、bind-8.2.3-1vl1を使ってネームサーバを作っています。
前日のbindのセキュリティーホールの問題で、/etc/named.confに「recursion no」
を追加しました。
> options {
> directory "/etc/named";
> recursion no;
> };
ところが、この状態でnslookupを実行すると
> > www.asahi.com
> Server: portege
> Address: 192.168.1.1
>
> *** portege can't find www.asahi.com: Non-existent host/domain
と言うように名前解決でエラーが発生してしまいます。
「recursion no」をコメントにしてbindを再起動するとちゃんとnslookupで名前
が引けるようになります。
他のIPなどを調べてみましたが、自分のサーバのサーバ名やIPは問題なく、どう
やら外部のネームサーバに問い合わせに行かなくなるようです。
これは、bindのどこの設定が悪いんでしょうか?
今使っているnamed.comfです。
[root@portege /etc]# cat named.conf
//
// domain bbwaves.com
//
//
options {
directory "/etc/named";
// recursion no;
};
//
zone "." {
type hint;
file "named.root";
};
//
zone "bbwaves.com"{
type master;
file "bbwaves.zone";
};
//
zone "1.168.192.in-addr.arpa"{
type master;
file "192.168.1.rev";
};
----
My name is KONNO Yousuke.
e-mail yousuke@xxxxxxxxxxx