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
8 roles = scope.lookupvar('site::roles')
10 roles['nagiosmaster'].each do |node|
11 str += scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].collect do |ip|
23 directory "/var/cache/bind";
25 auth-nxdomain no; # conform to RFC1035
26 listen-on { ! 127.0.0.1; any; };
27 listen-on-v6 { ! ::1; any; };
29 allow-transfer { none; };
30 allow-update { none; };
31 <% if classes.include?("named::geodns") -%>
32 blackhole { 192.168.0.0/16; 10.0.0.0/8; 172.16.0.0/12; };
38 str = "\tallow-recursion { " + allowed + " };\n"
39 str += "\tallow-query { " + allowed + " };\n"
45 dnssec-validation yes;
47 // Defaults are 100 and 10, causing lots and lots of tiny updates.
48 // This way, I hope, we'll get fewer (and thus bigger) updates. -- weasel
49 sig-signing-nodes 5000;
50 sig-signing-signatures 1000;
52 max-journal-size 100K;
58 file "/var/log/bind9/named-query.log" versions 4 size 40m;
62 category queries { queries; };
63 category lame-servers { null; };
66 file "/var/log/bind9/named-transfers.log" versions 4 size 40m;
70 category xfer-out { transfers; };
71 category notify { transfers; };
75 include "/etc/bind/named.conf.puppet-shared-keys";
76 include "/etc/bind/named.conf.puppet-misc";