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 (
|
class bind (
|
||||||
$forwarders = '',
|
$forwarders = '',
|
||||||
|
$forward = undef,
|
||||||
$dnssec = true,
|
$dnssec = true,
|
||||||
$filter_ipv6 = false,
|
$filter_ipv6 = false,
|
||||||
$version = '',
|
$version = '',
|
||||||
|
|||||||
@ -20,6 +20,9 @@ options {
|
|||||||
<%= forwarder %>;
|
<%= forwarder %>;
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
};
|
};
|
||||||
|
<%- end -%>
|
||||||
|
<%- if @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; };
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user