2 munin::check { 'bind': }
12 @ferm::rule { '00-dsa-bind-no-ddos-any':
14 description => 'Allow nameserver access',
15 rule => 'proto udp dport 53 mod string from 32 to 64 algo bm hex-string \'|0000ff0001|\' jump DROP'
18 @ferm::rule { 'dsa-bind-notrack':
20 description => 'NOTRACK for nameserver traffic',
22 chain => 'PREROUTING',
23 rule => 'proto (tcp udp) dport 53 jump NOTRACK'
26 @ferm::rule { 'dsa-bind-notrack-out':
28 description => 'NOTRACK for nameserver traffic',
31 rule => 'proto (tcp udp) sport 53 jump NOTRACK'
34 file { '/var/log/bind9':
41 file { '/etc/bind/named.conf.options':
42 content => template('named/named.conf.options.erb'),
43 notify => Service['bind9'],
46 file { '/etc/bind/named.conf.puppet-shared-keys':
48 content => template('named/named.conf.puppet-shared-keys.erb'),
51 notify => Service['bind9'],
54 concat { '/etc/bind/named.conf.puppet-misc':
55 notify => Service['bind9'],
57 concat::fragment { 'dsa-named-conf-puppet-misc---header':
58 target => '/etc/bind/named.conf.puppet-misc',
61 // THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.