-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi,
i use the latest Version of your Docker Unbound.
Is there any Tutorial where to use Root.hints with Root.key ?
In my unbound.conf i have enabled the root.key
auto-trust-anchor-file: "/etc/unbound/root.key"
I used unbound-anchor on the Host to create it and copied it to my Docker Storage for Unbound.
If i start Unbound i get Errors from Unbound:
[1760550476] unbound[1:0] error: second hints for zone . ignored.
[1760550476] unbound[1:0] info: start of service (unbound 1.24.0).
[1760551301] unbound[1:0] info: service stopped (unbound 1.24.0).
[1760551301] unbound[1:0] error: second hints for zone . ignored.
[1760551301] unbound[1:0] error: trust anchor for '.' presented twice
[1760551301] unbound[1:0] error: could not parse auto-trust-anchor-file root.key line 2
[1760551301] unbound[1:0] error: error reading auto-trust-anchor-file: root.key
[1760551301] unbound[1:0] error: validator: error in trustanchors config
[1760551301] unbound[1:0] error: validator: could not apply configuration settings.
[1760551301] unbound[1:0] error: module init for module validator failed
[1760551301] unbound[1:0] fatal error: failed to init modules
[1760551302] unbound[1:0] error: second hints for zone . ignored.
[1760551302] unbound[1:0] error: trust anchor for '.' presented twice
[1760551302] unbound[1:0] error: could not parse auto-trust-anchor-file root.key line 2
My Docker Compose is the following for the Volumes:
volumes:
- /home/docker/unbound:/etc/unbound/custom.conf.d
- /home/docker/unbound/root.hints:/etc/unbound/root.hints
- /home/docker/unbound/root.key:/etc/unbound/root.key