]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
unbound: make local zone transparent
authorGiovanni Aneloni <giovanni.aneloni@live.com>
Mon, 27 Apr 2020 22:23:57 +0000 (00:23 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 7 Jan 2021 11:55:03 +0000 (11:55 +0000)
Change local zone to "trasnparent" instead of "typetrasnparent" to avoid NXDOMAIN when querying local hosts

Fixes: #12391
Signed-off-by: Giovanni Aneloni <giovanni.aneloni@live.com>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/unbound

index 5c5d2e3f41423758f55554b6cbe9491f9f700a3f..b379bf3312913c2b25f1f8dc86c63e58de23ff03 100644 (file)
@@ -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