mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-04 11:01:27 +02:00
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 <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>
This commit is contained in:
committed by
Michael Tremer
parent
f8e0e85d2e
commit
2b113aebc4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user