Add a CNAME from the main zone for lushan-monitor
[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         18.25.129.162;  // adehnert3.xvm
25 };
26
27 masters "primary-ns" {
28         18.18.208.12;   // olinda
29 };
30
31 masters "secondary-ns" {
32         18.25.129.162;  // adehnert3.xvm
33 };
34
35 include "/etc/bind/named.conf.per-host";
36
37 zone "dynamic.dehnert.arctic.org" IN {
38         // DNAME to the real, dynamic.dehnerts.com, zone
39         type master;
40         file "/etc/bind/pri/arctic-dynamic.zone";
41         allow-update { none; };
42         allow-transfer { "transfer-allowed"; };
43         allow-query { any; };
44         //notify no;
45 };
46
47 zone "dehnert.arctic.org" IN {
48         type master;
49         file "/etc/bind/pri/combined-dehnerts.zone";
50         allow-update { none; };
51         allow-transfer { "transfer-allowed"; };
52         allow-query { any; };
53         //notify no;
54 };
55 zone "dehnerts.com" IN {
56         type master;
57         file "/etc/bind/pri/combined-dehnerts.zone";
58         #update-policy { grant * selfsub * A TXT;};
59         allow-update { none; };
60         allow-transfer { "transfer-allowed"; };
61         allow-query { any; };
62         //notify no;
63 };
64
65 logging {
66     channel query.log {
67         file "/var/log/named/query.log" versions 10 size 100M;
68         // Set the severity to dynamic to see all the debug messages.
69         severity debug 3;
70         print-category yes;
71         print-severity yes;
72         print-time yes;
73     };
74
75     category queries { query.log; };
76 };