Hello Giovanni, welcome and thanks for the patch. Makes sense to me. :-) Thanks, and best regards, Peter Müller Reviewed-by: Peter Müller > 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