On one of my systems running Ubuntu with a lot of network interfaces, unbound fails to start after reboot. When started manually with systemd start unbound.service
it works fine.
Solution:
Add the following line to /lib/systemd/system/unbound.service
:
[Unit]
Description=Unbound DNS server
Documentation=man:unbound(8)
After=network.target
+ After=network-online.target
Before=nss-lookup.target
Wants=nss-lookup.target