No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / bind / dist / contrib / zkt / examples / views / named.conf
blobc7034e2f5fa869c6c4bb4f1550c36eac30bdd5cf
1 /*****************************************************************
2 **
3 **      #(@)    named.conf      (c) 6. May 2004 (hoz)
4 *****************************************************************/
6 /*****************************************************************
7 **      logging options
8 *****************************************************************/
9 logging {
10         channel "named-log" {
11                 file "named.log";
12                 print-time yes;
13                 print-category yes;
14                 print-severity yes;
15                 severity info;
16         };
17         category "dnssec" { "named-log"; };
18         category "edns-disabled" { "named-log"; };
19         category "default" { "named-log"; };
22 /*****************************************************************
23 **      name server options
24 *****************************************************************/
25 options {
26         directory ".";
28         pid-file "named.pid"; 
29         listen-on-v6 port 1053 { any; };
30         listen-on port 1053 { any; };
32         empty-zones-enable no;
34         port 1053;
35         query-source address * port 1053;
36         query-source-v6 address * port 1053;
37         transfer-source * port 53;
38         transfer-source-v6 * port 53;
39         use-alt-transfer-source no;
40         notify-source * port 53;
41         notify-source-v6 * port 53;
43         recursion yes;
44         dnssec-enable yes;
45         dnssec-validation yes;          /* required by BIND 9.4.0 */
46         dnssec-accept-expired false;    /* added since BIND 9.5.0 */
47         edns-udp-size 1460;             /* (M4) */
48         max-udp-size 1460;              /* (M5) */
50         # allow-query { localhost; };   /* default in 9.4.0 */
51         # allow-query-cache { localhost; };     /* default in 9.4.0 */
53         dnssec-must-be-secure "." no;
55         querylog yes;
57         stats-server 127.0.0.1 port 8881;       /* added since BIND 9.5.0 */
60 /*****************************************************************
61 **      view intern
62 *****************************************************************/
63 view "intern" {
64         match-clients { 127.0.0.1; ::1; };
65         recursion yes;
66         zone "." in {
67                 type hint;
68                 file "root.hint";
69         };
71         zone "0.0.127.in-addr.arpa" in {
72                 type master;
73                 file "127.0.0.zone";
74         };
76         zone "example.net" in {
77                 type master;
78                 file "intern/example.net/zone.db.signed";
79         };
82 /*****************************************************************
83 **      view extern
84 *****************************************************************/
85 view "extern" {
86         match-clients { any; };
87         recursion no;
88         zone "." in {
89                 type hint;
90                 file "root.hint";
91         };
93         zone "example.net" in {
94                 type master;
95                 file "extern/example.net/zone.db.signed";
96         };