8e94176ae484ba9e0218ae62fc46b0fb6d034605
[sysconfig/bind.git] / named.conf.local
1 //
2 // Do any local configuration here
3 //
4
5 // Consider adding the 1918 zones here, if they are not used in your
6 // organization
7 //include "/etc/bind/zones.rfc1918";
8
9 # zone "debuntu.foo" {
10 #        type master;
11 #        file "debuntu.foo.db";
12 #        notify no;
13 #};
14
15 acl "transfer-allowed" {
16         localhost;
17         207.29.250.54;  // ???
18         18.4.60.36;     // charon
19         18.49.3.1;      // charon4
20         18.25.131.1;    // charon4
21         74.207.246.137; // arctic
22         66.92.29.156;   // copan
23         18.18.208.12;   // olinda
24 };
25
26 include "/etc/bind/pri/dynamic.keys";
27
28 zone "dynamic.dehnerts.com" IN {
29         type master;
30         file "/etc/bind/dyn/dynamic.zone";
31         update-policy { grant * selfsub * A TXT;};
32         allow-transfer { "transfer-allowed"; };
33         allow-query { any; };
34 };
35
36 zone "dynamic.dehnert.arctic.org" IN {
37         // DNAME to the real, dynamic.dehnerts.com, zone
38         type master;
39         file "/etc/bind/pri/arctic-dynamic.zone";
40         allow-update { none; };
41         allow-transfer { "transfer-allowed"; };
42         allow-query { any; };
43         //notify no;
44 };
45
46 zone "dehnert.arctic.org" IN {
47         type master;
48         file "/etc/bind/pri/combined-dehnerts.zone";
49         allow-update { none; };
50         allow-transfer { "transfer-allowed"; };
51         allow-query { any; };
52         //notify no;
53 };
54 zone "dehnerts.com" IN {
55         type master;
56         file "/etc/bind/pri/combined-dehnerts.zone";
57         #update-policy { grant * selfsub * A TXT;};
58         allow-update { none; };
59         allow-transfer { "transfer-allowed"; };
60         allow-query { any; };
61         //notify no;
62 };
63
64 logging {
65     channel query.log {
66         file "/var/log/named/query.log" versions 10 size 100M;
67         // Set the severity to dynamic to see all the debug messages.
68         severity debug 3;
69         print-category yes;
70         print-severity yes;
71         print-time yes;
72     };
73
74     category queries { query.log; };
75 };