etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / contrib / zkt-1.1.3 / examples / flat / named.conf
blobf672fc6315ada0234bd65e35e6028daf20357d00
1 /*****************************************************************
2 **
3 **      #(@)    named.conf      (c) 6. May 2004 (hoz)
4 **
5 *****************************************************************/
7 /*****************************************************************
8 **      logging options
9 *****************************************************************/
10 logging {
11         channel "named-log" {
12                 file "/var/log/named" versions 3 size 2m;
13                 print-time yes;
14                 print-category yes;
15                 print-severity yes;
16                 severity info;
17         };
18         channel "resolver-log" {
19                 file "/var/log/named";
20                 print-time yes;
21                 print-category yes;
22                 print-severity yes;
23                 severity debug 1;
24         };
25         channel "dnssec-log" {
26 #                file "/var/log/named-dnssec" ;
27                 file "/var/log/named" ;
28                 print-time yes;
29                 print-category yes;
30                 print-severity yes;
31                 severity debug 3;
32         };
33         category "dnssec" { "dnssec-log"; };
34         category "default" { "named-log"; };
35         category "resolver" { "resolver-log"; };
36         category "client" { "resolver-log"; };
37         category "queries" { "resolver-log"; };
40 /*****************************************************************
41 **      name server options
42 *****************************************************************/
43 options {
44         directory ".";
46         dump-file "/var/log/named_dump.db";
47         statistics-file "/var/log/named.stats";
49         listen-on-v6 { any; };
51         query-source address * port 53;
52         transfer-source * port 53;
53         notify-source * port 53;
55         recursion yes;
56         dnssec-enable yes;
57         edns-udp-size 4096;
59 #       dnssec-lookaside "." trust-anchor "trusted-keys.de.";
61         querylog yes;
65 /*****************************************************************
66 **      include shared secrets...
67 *****************************************************************/
68 /**      for control sessions ...       **/
69 controls {
70         inet 127.0.0.1 
71                 allow { localhost; };
72         inet ::1 
73                 allow { localhost; };
76 /*****************************************************************
77 **      ... and trusted_keys
78 *****************************************************************/
79 # include "trusted-keys.conf" ;
81 /*****************************************************************
82 **      root server hints and required 127 stuff
83 *****************************************************************/
84 zone "." in {
85         type hint;
86         file "root.hint";
89 zone "localhost" in {
90         type master;
91         file "localhost.zone";
94 zone "0.0.127.in-addr.ARPA" in {
95         type master;
96         file "127.0.0.zone";
99 #include "zone.conf";
101 zone "example.NET." in {
102         type master;
103         file "example.net/zone.db.signed";
104         zone-statistics yes;
107 zone "sub.example.NET." in {
108         type master;
109         file "sub.example.net/zone.db.signed";
110         zone-statistics no;