From: Giovanni Aneloni Date: Mon, 27 Apr 2020 22:23:57 +0000 (+0200) Subject: unbound: make local zone transparent X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b113aebc482389692c9843a289ca489364a0c6f;p=people%2Fmfischer%2Fipfire-2.x.git unbound: make local zone transparent 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 --- 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