Support minimal-responses setting on views
This commit is contained in:
parent
1aebf94b7f
commit
e579b5479b
@ -10,6 +10,7 @@ define bind::view (
|
||||
$recursion_match_destinations = '',
|
||||
$recursion_match_only = false,
|
||||
$order = '10',
|
||||
$minimal_responses = false,
|
||||
) {
|
||||
$confdir = $::bind::confdir
|
||||
|
||||
|
||||
@ -44,6 +44,9 @@ view "<%= @name %>" {
|
||||
};
|
||||
<%- end -%>
|
||||
<%- end -%>
|
||||
<%- if @minimal_responses -%>
|
||||
minimal-responses yes;
|
||||
<%- end -%>
|
||||
<%- if scope.lookupvar('osfamily') == 'Debian' -%>
|
||||
include "<%= @confdir %>/named.conf.default-zones";
|
||||
<%- end -%>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user