debian 13 bind9 named.conf.root-hists 要修正
作成:2025-12-25 更新:2025-12-25debian 13 bind9をインストール後、設定を修正して立ち上げると
root@hogehoge:~/org/bind# named-checkconf /etc/bind/named.conf
/etc/bind/named.conf.root-hints:2: when using 'view' statements, all zones must be in views
となる。
/etc/bind/named.conf.root-hints はインストール時以下の内容でした。
zone "." {
type hint;
file "/usr/share/dns/root.hints";
};
以下に修正するとパスした。
view "default-zones" {
match-clients {
localhost;
internal-network;
};
zone "." {
type hint;
file "/usr/share/dns/root.hints";
};
};
