Updated my pi-hole to the latest version today (pi-hole -up) and it failed at FTL and cannot resolve addresses anymore. It appears it's own DNS is dead (dig anything doesn't work), I cannot find out where it is configured (no resolve.conf file / empty) and all other posts I read don't have this odd issue.
When I try the repair it fails just fails at GitHub as it cannot get the ip (dns fail). Dnsmasq is missing (should it be there??).
Not sure what happened but it seems to of messed up its own DNS during the update and didn't finish the update because of that.
I ran: sudo systemctl enable systemd-resolved && sudo systemctl start systemd-resolved
This allowed me then to run: pihole -r and update to bullseye, then -r again and -d....
Here is the debug token: https://tricorder.pi-hole.net/gfR6hglt/
After an update you might have lost your default route.
Please check your route "sudo route -v" if you don't have a default route
that got wiped on an update somehow. It should be something like what is below:
Kernel IP routing table
default fire 0.0.0.0 UG 0 0 0 ens160
192.168.xxx.x 0.0.0.0 255.255.255.0 U 0 0 0 ens160
TO fix it run "sudo route add default gw xxx.xxx.xxx.xxx"
substitute xxx.xxx.xxx.xxx for your firewall, router , etc, something such as "192.168.1.1"
My routing is fine now. I even went and reinstalled everything including Debian from scratch but I still can't start FTL and dns is offline. The DNS of the unit is working however as I can resolve domain with curl/dig.