Expected Behaviour:
Given the below system/os specs:
Raspberry Pi Zero W Rev 1.1
Raspbian GNU/Linux 10 (buster)
Pi-hole v5.2.1
FTL v5.3.2
Unbound 1.9.0-2+deb10u2
I should be able to install unbound with no errors and run "unbound" after install without seeing any errors
Actual Behaviour:
- run
sudo apt install unbound
unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2020-12-16 15:03:12 EST; 257ms ago
Docs: man:unbound(8)
Process: 7243 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=1/FAILURE)
Process: 7246 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=1/FAILURE)
Process: 7249 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=exited, status=1/FAILURE)
Main PID: 7249 (code=exited, status=1/FAILURE)
-
then, ignoring the error run
wget https://www.internic.net/domain/named.root -qO- | sudo tee /var/lib/unbound/root.hints
-
then,
sudo nano /etc/unbound/unbound.conf.d/pi-hole.conf
and paste the default config from the tutorial -
then run
sudo service unbound restart
and see
unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: **failed** (Result: exit-code) since Wed 2020-12-16 15:08:40 EST; 8s ago
Docs: man:unbound(8)
Process: 7937 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup **(code=exited, status=1/FAILURE)**
Process: 7940 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update **(code=exited, status=1/FAILURE)**
Process: 7943 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS **(code=exited, status=1/FAILURE)**
Main PID: 7943 (code=exited, status=1/FAILURE)
Dec 16 15:08:40 raspberrypi systemd[1]: unbound.service: Service RestartSec=100ms expired, scheduling restart.
Dec 16 15:08:40 raspberrypi systemd[1]: unbound.service: Scheduled restart job, restart counter is at 5.
Dec 16 15:08:40 raspberrypi systemd[1]: Stopped Unbound DNS server.
Dec 16 15:08:40 raspberrypi systemd[1]: **unbound.service: Start request repeated too quickly.**
Dec 16 15:08:40 raspberrypi systemd[1]: **unbound.service: Failed with result 'exit-code'.**
Dec 16 15:08:40 raspberrypi systemd[1]: **Failed to start Unbound DNS server.**
Dec 16 15:08:41 raspberrypi systemd[1]: **unbound.service: Start request repeated too quickly.**
Dec 16 15:08:41 raspberrypi systemd[1]: **unbound.service: Failed with result 'exit-code'.**
Dec 16 15:08:41 raspberrypi systemd[1]: **Failed to start Unbound DNS server.**
What are additional troubleshooting steps I can take? I set verbosity to 2 and uncommented the root-hints location in the config but not sure what else I can do at this point?