puppet-bind/templates/named.conf.erb
Nate Riffe a66b985adb Fix up bind::updater and support rndc
I thought I fixed rndc a while ago... not quite. Do it now. Make bind::updater
actually work (incomplete last time)
2014-06-27 14:43:46 -05:00

33 lines
842 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 @rndc -%>
include "<%= @confdir %>/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};
<%- 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";