From 2b113aebc482389692c9843a289ca489364a0c6f Mon Sep 17 00:00:00 2001 From: Giovanni Aneloni Date: Tue, 28 Apr 2020 00:23:57 +0200 Subject: [PATCH] unbound: make local zone transparent MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change local zone to "trasnparent" instead of "typetrasnparent" to avoid NXDOMAIN when querying local hosts Fixes: #12391 Signed-off-by: Giovanni Aneloni Reviewed-by: Peter Müller Acked-by: Michael Tremer Signed-off-by: Michael Tremer --- src/initscripts/system/unbound | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index 5c5d2e3f41..b379bf3312 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -81,7 +81,7 @@ write_hosts_conf() { # Skip empty domainnames [ "${domainname}" = "" ] && continue - echo "local-zone: ${domainname} typetransparent" + echo "local-zone: ${domainname} transparent" done < /var/ipfire/main/hosts | sort -u # Add all hosts -- 2.39.5