// $OpenBSD: named-dual.conf,v 1.2 2003/01/20 22:47:08 jakob Exp $ // // Example file for a named configuration with dual views, // one processing recursive queries only and one processing // authoritative-only queries. // Update this list to include only the networks for which you want // to execute recursive queries. The default setting allows all hosts // on any IPv4 networks for which the system has an interface. // acl clients { localnets; }; options { version ""; // remove this to allow version queries }; view "recursive" { match-clients { clients; }; match-recursive-only yes; // Standard zones // zone "." { type hint; file "standard/root.hint"; }; zone "localhost" { type master; file "standard/localhost"; allow-transfer { localhost; }; }; zone "127.in-addr.arpa" { type master; file "standard/loopback"; allow-transfer { localhost; }; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" { type master; file "standard/loopback6.arpa"; allow-transfer { localhost; }; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int" { type master; file "standard/loopback6.int"; allow-transfer { localhost; }; }; }; view "authoritative" { recursion no; additional-from-auth no; additional-from-cache no; // Master zones // //zone "myzone.net" { // type master; // file "master/myzone.net"; //}; // Slave zones // //zone "otherzone.net" { // type slave; // file "slave/otherzone.net"; // masters { 192.168.1.10; [...;] }; //}; };