include named::authoritative
- $notify_address = join(getfromhash($site::allnodeinfo, 'denis.debian.org', 'ipHostNumber'), "; ")
+ $notify_address_bind = join(getfromhash($site::allnodeinfo, 'denis.debian.org', 'ipHostNumber'), "; ")
+
+ ferm::rule { '01-dsa-bind':
+ domain => '(ip ip6)',
+ description => 'Allow nameserver access',
+ rule => '&TCP_UDP_SERVICE_RANGE(53, ( $HOST_NAGIOS $HOST_DNSPRIMARY ) )',
+ }
concat::fragment { 'dsa-named-conf-puppet-misc---openpgpkey-zone':
target => '/etc/bind/named.conf.puppet-misc',
127.0.0.1;
};
also-notify {
- $notify_address;
+ $notify_address_bind;
};
};
| EOF