auth-zone zonefile and chroot

Wouter Wijngaards wouter at
Thu Nov 22 15:58:55 UTC 2018

Hi Simon,

On 10/20/18 3:04 AM, Simon Deziel via Unbound-users wrote:
> Hello,
> I noticed that if an auth-zone is used together with a chroot, the
> zonefile parameter isn't stripped from the chroot prefix. This config

Fixed to allow chroot and auth zone zonefiles.  Also for $INCLUDE and
written to after updates from master or https source.

Best regards, Wouter

> will throw "unbound: [50882:0] error: could not open
> /var/unbound/db/root.tmp50882: No such file or directory":
>   server:
>     chroot: "/var/unbound"
>   auth-zone:
>     name: "."
>     zonefile: "/var/unbound/db/root"
>     master: 2001:500:2f::f
>     for-downstream: no
> Changing zonefile to "/db/root" works around this issue. Since other
> parameters like auto-trust-anchor-file seem to work with or without the
> chroot prefix I think it would be nice if zonefile would behave in the
> same way.
> Thanks!
> Simon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Unbound-users mailing list