Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git] / modules / named / templates / named.conf.options.erb
1 //
2 // THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 // USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 //
5
6 options {
7         directory "/var/cache/bind";
8
9         auth-nxdomain no;    # conform to RFC1035
10         listen-on { ! 127.0.0.1; any; };
11         listen-on-v6 { ! ::1; any; };
12
13         allow-transfer { none; };
14         allow-update { none; };
15 <% if classes.include?("named::geodns") -%>
16         blackhole { 192.168.0.0/16; 10.0.0.0/8; 172.16.0.0/12; };
17 <% end -%>
18
19         dnssec-enable yes;
20         dnssec-validation yes;
21
22         // Defaults are 100 and 10, causing lots and lots of tiny updates.
23         // This way, I hope, we'll get fewer (and thus bigger) updates. -- weasel
24         sig-signing-nodes 5000;
25         sig-signing-signatures 1000;
26
27         max-journal-size 100K;
28 };
29
30 logging {
31
32         channel queries {
33                 file "/var/log/bind9/named-query.log" versions 4 size 40m;
34                 print-time yes;
35                 print-category yes;
36         };
37         category queries { queries; };
38         category lame-servers { null; };
39
40         channel transfers {
41                 file "/var/log/bind9/named-transfers.log" versions 4 size 40m;
42                 print-time yes;
43                 print-category yes;
44         };
45         category xfer-out { transfers; };
46         category notify { transfers; };
47
48 };
49
50 include "/etc/bind/named.conf.puppet-shared-keys";
51 include "/etc/bind/named.conf.puppet-misc";