view statements could relpy different result depend on client origin
Example: private view and public view
query from public network ref. file db.test
query from private network ref. file db.test.private
Note: to use view statements, all zones must be in viewsview "public" { match-clients { !192.168.0.0/16; any; }; recursion no; zone "." { type hint; file "named.root"; }; zone "test.com" { type master; file "db.qmio"; }; }; view "private" { match-clients { 192.168.0.0/16; }; zone "." { type hint; file "named.root"; }; zone "test.com" { type master; file "db.test.private"; }; };
Leave a comment