added support for view directive "match-recursive-only"
allows for dedicated views separating resolver and authorative functions within the same server
This commit is contained in:
parent
f9ed618b36
commit
0ebec14102
@ -7,6 +7,7 @@ define bind::view (
|
||||
$recursion = true,
|
||||
$recursion_match_clients = 'any',
|
||||
$recursion_match_destinations = '',
|
||||
$recursion_match_only = false,
|
||||
$order = '10',
|
||||
) {
|
||||
$confdir = $::bind::confdir
|
||||
|
||||
@ -15,6 +15,9 @@ view "<%= @name %>" {
|
||||
};
|
||||
<%- end -%>
|
||||
recursion <%= @recursion ? 'yes' : 'no' %>;
|
||||
<%- if @recursion_match_only -%>
|
||||
match-recursive-only yes;
|
||||
<%- end -%>
|
||||
<%- if @recursion -%>
|
||||
<%- if @recursion_match_clients and @recursion_match_clients != '' -%>
|
||||
allow-recursion {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user