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
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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to