mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/bind: fix handling of multiple ACLs in allow-recursion (#4085)
Same fix as #4048 but for allow-recursion
This commit is contained in:
@@ -49,7 +49,7 @@ options {
|
||||
{% if helpers.exists('OPNsense.bind.general.recursion') and OPNsense.bind.general.recursion != '' %}
|
||||
recursion yes;
|
||||
allow-recursion {
|
||||
{% for acl in helpers.toList('OPNsense.bind.general.recursion') %}
|
||||
{% for acl in OPNsense.bind.general.recursion.split(',') %}
|
||||
{% set recursion_acl = helpers.getUUID(acl) %}
|
||||
{{ recursion_acl.name }};
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user