pihole dns server stopped working – fix for me

tried this

In the log in Ports in Use, connman was using port 53, which is needed by the pihole. I followed these instructions: https://wiki.archlinux.org/title/ConnMan#Avoiding_conflicts_with_local_DNS_server

in order to create the folder I had to use the command:

sudo mkdir /etc/systemd/system/connman.service.d/

Then to create the file I used:

sudo nano -w /etc/systemd/system/connman.service.d/disable_dns_proxy.conf

Then pasted in the text that it said into the file

[Service]
ExecStart=
ExecStart=/usr/bin/connmand -n --nodnsproxy

Then hit ctrl+X to exit, y to say I want to save it, and then enter to confirm saving with the filename.

still didn’t work until i did this as well. i think

sudo systemctl restart unbound