diff --git a/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf b/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf index ba12c2c00..b1364adf2 100644 --- a/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf +++ b/dns/bind/src/opnsense/service/templates/OPNsense/Bind/named.conf @@ -68,7 +68,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') %} -{% set query_acl = helpers.getUUID(list) %} +{% set query_acl = helpers.getUUID(acl) %} {{ query_acl.name }}; {% endfor %} };