From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Aneloni To: development@lists.ipfire.org Subject: [PATCH] unbound: make local zone transparent Date: Tue, 28 Apr 2020 00:23:57 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5283480313748054358==" List-Id: --===============5283480313748054358== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Fixes: https://bugzilla.ipfire.org/show_bug.cgi?id=12391 Change local zone to "trasnparent" instead of "typetrasnparent" to avoid NXDOMAIN when querying local hosts Signed-off-by: Giovanni Aneloni --- diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index acbf6f5b5..825ac74ec 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 --===============5283480313748054358==--