From 7f9f08901774a0a3bdff3af3d6d94957bf491b45 Mon Sep 17 00:00:00 2001 From: "Patrick M. Hausen" Date: Thu, 20 Apr 2023 15:25:23 +0200 Subject: [PATCH] dns/bind: fix bug in ACL processing for `allow-query` section --- .../src/opnsense/service/templates/OPNsense/Bind/named.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} };