When I initially set up the Pi-Hole on a Raspberry Pi Zero 2 W, I could connect to the admin page, however, I then realized my existing router wasn't compatible and so couldn't finish setup. (No other software is running on the Pi.)
I installed a new, compatible TP Link AX1800 router and reconnected the Pi. Now, I can SSH into the Pi, but can no longer open the admin page either by pi.hole/admin or by its IP.
Expected Behaviour:
Able to open Pi-hole admin page via either pi.hole/admin or by its IP
Using Pi-hole IP as DNS blocks ads
Able to send debug logs w/o error
Actual Behaviour:
Pi-hole admin page will not load
I can add the IP as my DNS w/o breaking my internet connection, but it is not functioning
" * Error message: curl: (6) Could not resolve host: tricorder.pi-hole.net"
3a. When I'd asked on Reddit I'd been advised to try setting the nameserver to a 3rd party DNS service to try to bypass this, but I'm getting the same error either way.
Debug Token:
See above; there's something preventing it from sending.
Since the new router may have introduced new networking, and since this is a new installation I would advise starting over with the Pi-hole as probably the quickest and safest way to proceed.
If the router is .1, configure the router's DHCP to hand out addresses from .10 to .254. That frees up .2 to .9 for static assignment. Install the latest Pi OS on the Pi, configure it with a static IP address such as .2 (the command sudo nmtui makes this painless) and then install Pi-hole.
Configure the router's DHCP settings again to give out the Pi-hole's IP as DNS for the network. Finally, toggle devices off and on the network to pick up the new settings. Test and you should be able to reach the admin page and see devices using it.
Thanks! I was avoiding trying reinstalling hoping for an easier solution, but just redoing it was definitely faster. I'm in and it's working! Now to play with refining blacklists
Nice one. Once you get it how you like it, don't forget to take a Teleporter backup in Settings > Teleporter. Then if you have to reinstall, you can use that backup to get all your lists and domains back very quickly.