Have to manually ‘Restart DNS server’ when reboot pihole (another one)

Perfect, thanks for the info!
Removed those lines from /lib/systemd/system/dnsmasq.service

Using overriding command arguments

sudo systemctl edit dnsmasq

Then add

[Unit]
After=network-online.target
Wants=network-online.target

Write out & exit. Rebooted and confirmed dnsmasq starting without issue.

1 Like