puppet-bind/templates/named.conf.erb
Nate Riffe 01cb48191e Generate an rndc key, let BIND rest on defaults
In the absence of any 'controls' configuration, BIND uses the rndc.key file
containing a key named rndc-key for rndc by default. In this mode, there is
also no need for any explicit settings in rndc.conf.
2015-01-18 10:31:12 -06:00

26 lines
705 B
Plaintext

# This file is managed by puppet - changes will be lost
include "<%= @confdir %>/acls.conf";
include "<%= @confdir %>/keys.conf";
include "<%= @confdir %>/views.conf";
options {
directory "<%= @cachedir %>";
<%- if @forwarders and @forwarders != '' -%>
forwarders {
<%- Array(@forwarders).each do |forwarder| -%>
<%= forwarder %>;
<%- end -%>
};
<%- end -%>
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
listen-on-v6 { any; };
dnssec-enable <%= @dnssec ? 'yes' : 'no' %>;
dnssec-validation <%= @dnssec ? 'yes' : 'no' %>;
dnssec-lookaside <%= @dnssec ? 'auto' : 'no' %>;
<%- if @version != '' -%>
version "<%= @version %>";
<%- end -%>
};
include "<%= @confdir %>/named.conf.local";