Unbound dnsec issues on 2.2.1
-
Mar 27 15:28:25 unbound: [47536:0] fatal error: failed to setup modules
Mar 27 15:28:25 unbound: [47536:0] error: module init for module validator failed
Mar 27 15:28:25 unbound: [47536:0] error: validator: could not apply configuration settings.
Mar 27 15:28:25 unbound: [47536:0] error: validator: error in trustanchors config
Mar 27 15:28:25 unbound: [47536:0] error: error reading auto-trust-anchor-file: /var/unbound/root.key
Mar 27 15:28:25 unbound: [47536:0] error: failed to read /root.keyhow do i fix this was working fine? any idea what caused it ?
-
rm /var/unbound/root.key
unbound-anchor -a /var/unbound/root.key
chown unbound /var/unbound/root.key
that fixed it