Different BIND/DNS responses by IP/NETWORK/VLAN etc. (security!) view "trusted" { match-clients { 192.168.0.0/24; }; // allowed network recursion yes; // allowed zone - or forwarded zone zone "example.com" { type master; file "example.com"; }; }; view "banned" { match-clients {"any"; }; // all other networks recursion no; // zone disabled or forwarded zone "example.com" { type master; file "example.com"; }; }; from: https://www.zytrax.com/books/dns/ch7/view.html https://www.zytrax.com/books/dns/ch6/#split-view
Archive for April, 2022
0