OSDN Git Service

initial commit
[openbsd-octeon/openbsd-octeon.git] / src / etc / bind / named-simple.conf
1 // $OpenBSD: named-simple.conf,v 1.10 2009/11/02 21:12:56 jakob Exp $
2 //
3 // Example file for a simple named configuration, processing both
4 // recursive and authoritative queries using one cache.
5
6
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.
11 //
12 acl clients {
13         localnets;
14         ::1;
15 };
16
17 options {
18         version "";     // remove this to allow version queries
19
20         listen-on    { any; };
21         listen-on-v6 { any; };
22
23         empty-zones-enable yes;
24
25         allow-recursion { clients; };
26 };
27
28 logging {
29         category lame-servers { null; };
30 };
31
32 // Standard zones
33 //
34 zone "." {
35         type hint;
36         file "etc/root.hint";
37 };
38
39 zone "localhost" {
40         type master;
41         file "standard/localhost";
42         allow-transfer { localhost; };
43 };
44
45 zone "127.in-addr.arpa" {
46         type master;
47         file "standard/loopback";
48         allow-transfer { localhost; };
49 };
50
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" {
52         type master;
53         file "standard/loopback6.arpa";
54         allow-transfer { localhost; };
55 };
56
57
58 // Master zones
59 //
60 //zone "myzone.net" {
61 //      type master;
62 //      file "master/myzone.net";
63 //};
64
65 // Slave zones
66 //
67 //zone "otherzone.net" {
68 //      type slave;
69 //      file "slave/otherzone.net";
70 //      masters { 192.0.2.1; [...;] };
71 //};