どうも、上からアドレスマッピングをしていくらしく、 一番上のviewに "any" をやってしまうと、それがすべて有効になってしまう。
view "internal" {
match-clients { 192.168.0.0/24; 127.0.0.1; };
zone "localhost" IN {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
zone "." IN {
type hint;
file "named.ca";
};
zone "example.local" IN {
type master;
file "data/db.example.local.internal";
};
};
view "external" {
match-clients { any; };
recursion no;
zone "example.local" IN {
type master;
file "data/db.example.local";
};
};
