Merge pull request #106 from Hossy/master

Support for "forward" statement
This commit is contained in:
Nate Riffe 2016-11-07 19:26:53 -06:00 committed by GitHub
commit d45305563e
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
class bind ( class bind (
$forwarders = '', $forwarders = '',
$forward = undef,
$dnssec = true, $dnssec = true,
$filter_ipv6 = false, $filter_ipv6 = false,
$version = '', $version = '',

View File

@ -20,6 +20,9 @@ options {
<%= forwarder %>; <%= forwarder %>;
<%- end -%> <%- end -%>
}; };
<%- end -%>
<%- if @forward and @forward != '' -%>
forward <%= @forward %>;
<%- end -%> <%- end -%>
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>; auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
listen-on-v6 { any; }; listen-on-v6 { any; };