* Line up the parameter defaults in init.pp * Put the leading whitespace ahead of the statistics-channel conditional block inside the condition to avoid superfluous blank lines in the generated file
32 lines
841 B
Plaintext
32 lines
841 B
Plaintext
# This file is managed by puppet - changes will be lost
|
|
include "<%= @confdir %>/acls.conf";
|
|
include "<%= @confdir %>/keys.conf";
|
|
include "<%= @confdir %>/views.conf";
|
|
<%- if @statistics_port -%>
|
|
|
|
statistics-channels {
|
|
inet 127.0.0.1 port <%= @statistics_port %> allow { 127.0.0.1; };
|
|
};
|
|
<%- end -%>
|
|
|
|
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";
|