Move logs to someplace apparmor allows by default
[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         74.207.246.137; // arctic
21         66.92.29.156;   // copan
22         18.102.208.15;  // olinda
23 };
24
25 zone "dehnert.arctic.org" IN {
26         type master;
27         file "/etc/bind/pri/combined-dehnerts.zone";
28         allow-update { none; };
29         allow-transfer { "transfer-allowed"; };
30         allow-query { any; };
31         //notify no;
32 };
33 zone "dehnerts.com" IN {
34         type master;
35         file "/etc/bind/pri/combined-dehnerts.zone";
36         allow-update { none; };
37         allow-transfer { "transfer-allowed"; };
38         allow-query { any; };
39         //notify no;
40 };
41
42 logging {
43     channel query.log {
44         file "/var/log/named/query.log" versions 10 size 100M;
45         // Set the severity to dynamic to see all the debug messages.
46         severity debug 3;
47         print-category yes;
48         print-severity yes;
49         print-time yes;
50     };
51
52     category queries { query.log; };
53 };