options { directory "/var/bind"; listen-on-v6 { none; }; pid-file "/var/run/named/named.pid"; }; view "us" { // Match clients from US & Canada match-clients { country_US; country_CA; }; // Provide recursive service to internal clients only. recursion no; zone "example.com" { type master; file "pri/example-us.db"; }; zone "." IN { type hint; file "named.ca"; }; }; view "latin" { // Match from Argentina, Chile and Brazil match-clients { country_AR; country_CL; country_BR; }; // Provide recursive service to internal clients only. recursion no; zone "example.com" { type master; file "pri/example-latin.db"; }; zone "." IN { type hint; file "named.ca"; }; }; view "other" { // Match all others match-clients { any; }; // Refuse recursive service to external clients. recursion no; zone "example.com" { type master; file "pri/example-other.db"; }; zone "." IN { type hint; file "named.ca"; }; };