Also allow updating TXT records
[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 "dehnert.arctic.org" IN {
37 #       type master;
38 #       file "/etc/bind/pri/combined-dehnerts.zone";
39 #       #update-policy { grant * selfsub * A;};
40 #        allow-update { none; };
41 #       allow-transfer { "transfer-allowed"; };
42 #       allow-query { any; };
43 #       //notify no;
44 #};
45 zone "dehnerts.com" IN {
46         type master;
47         file "/etc/bind/pri/combined-dehnerts.zone";
48         #update-policy { grant * selfsub * A TXT;};
49         allow-update { none; };
50         allow-transfer { "transfer-allowed"; };
51         allow-query { any; };
52         //notify no;
53 };
54
55 logging {
56     channel query.log {
57         file "/var/log/named/query.log" versions 10 size 100M;
58         // Set the severity to dynamic to see all the debug messages.
59         severity debug 3;
60         print-category yes;
61         print-severity yes;
62         print-time yes;
63     };
64
65     category queries { query.log; };
66 };