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-query/allow-transfer
This commit is contained in:
committed by
Franco Fichtner
parent
616951739f
commit
be43869f31
@@ -58,7 +58,7 @@ options {
|
||||
|
||||
{% if helpers.exists('OPNsense.bind.general.allowtransfer') and OPNsense.bind.general.allowtransfer != '' %}
|
||||
allow-transfer {
|
||||
{% for acl in helpers.toList('OPNsense.bind.general.allowtransfer') %}
|
||||
{% for acl in OPNsense.bind.general.allowtransfer.split(',') %}
|
||||
{% set transfer_acl = helpers.getUUID(acl) %}
|
||||
{{ transfer_acl.name }};
|
||||
{% endfor %}
|
||||
@@ -67,7 +67,7 @@ options {
|
||||
|
||||
{% if helpers.exists('OPNsense.bind.general.allowquery') and OPNsense.bind.general.allowquery != '' %}
|
||||
allow-query {
|
||||
{% for acl in helpers.toList('OPNsense.bind.general.allowquery') %}
|
||||
{% for acl in OPNsense.bind.general.allowquery.split(',') %}
|
||||
{% set query_acl = helpers.getUUID(acl) %}
|
||||
{{ query_acl.name }};
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user