1 // $OpenBSD: named-simple.conf,v 1.10 2009/11/02 21:12:56 jakob Exp $
3 // Example file for a simple named configuration, processing both
4 // recursive and authoritative queries using one cache.
7 // Update this list to include only the networks for which you want
8 // to execute recursive queries. The default setting allows all hosts
9 // on any IPv4 networks for which the system has an interface, and
10 // the IPv6 localhost address.
18 version ""; // remove this to allow version queries
21 listen-on-v6 { any; };
23 empty-zones-enable yes;
25 allow-recursion { clients; };
29 category lame-servers { null; };
41 file "standard/localhost";
42 allow-transfer { localhost; };
45 zone "127.in-addr.arpa" {
47 file "standard/loopback";
48 allow-transfer { localhost; };
51 zone "1.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" {
53 file "standard/loopback6.arpa";
54 allow-transfer { localhost; };
62 // file "master/myzone.net";
67 //zone "otherzone.net" {
69 // file "slave/otherzone.net";
70 // masters { 192.0.2.1; [...;] };