Support for "forward" statement
Add "forward" statement in options { } block in named.conf.
This commit is contained in:
parent
6eb6193290
commit
89751eea38
@ -2,6 +2,7 @@
|
||||
|
||||
class bind (
|
||||
$forwarders = '',
|
||||
$forward = undef,
|
||||
$dnssec = true,
|
||||
$filter_ipv6 = false,
|
||||
$version = '',
|
||||
|
||||
@ -20,6 +20,9 @@ options {
|
||||
<%= forwarder %>;
|
||||
<%- end -%>
|
||||
};
|
||||
<%- end -%>
|
||||
<%- if @forward != '' -%>
|
||||
forward <%= @forward %>;
|
||||
<%- end -%>
|
||||
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
|
||||
listen-on-v6 { any; };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user