After rebooting Ubuntu 18.04 Pi-hole doesn’t work until I run the command “pihole restartdns”

Yes.
The config file /etc/dnsmasq.d/lxd is not a Pi-hole one.
Try move it out of that folder to your home folder (for backup):

sudo mv /etc/dnsmasq.d/lxd ~

Restart pihole-FTL:

sudo service pihole-FTL restart

And check again:

sudo netstat -nltup | grep 'Proto\|:53 \|:67 \|:80 \|:471[1-8] '

1 Like