If you have a Windows computer / laptop you can use that to find your router's IP:
- Press [Win + R] (where Win is the Windows key - usually next to Alt)
- In the little box that opens, type:
cmd
and press enter
- In the black window that opens up, type
ipconfig
and press enter
This will give you a list of your network interfaces and on one (usually called wifi0 / lan / eth0 or something similar) there will be a line that looks like:
Default Gateway . . . . . . . . . : 192.168.1.1
That's your router's address - make a note of it.
- In the same black window, type:
ping pi.hole
and press enter
Whatever is listed there is your PiHole's IP address:
Pinging pi.hole [192.168.1.2] with 32 bytes of data:
With these two bits of information, you can log in to your router's interface by visiting that IP in your browser (e.g. Edge / Chrome / Firefox), for example:
http://192.168.1.1
(obviously use the IP address that you found from ipconfig
, this is just a common example). Without knowing your router's model it's not really possible to help with the interface, but you then need to find the DNS settings. You need to swap whatever that says for your PiHole's IP address (often have to change this from "Automatic" to manual). Save.
Anything that then connects to your network will look for domain resolution through your PiHole.
At this point, everything should work, but if your laptop uses your PiHole and your phone doesn't then you'll need to play with your phone's settings. For me (Android 11), these are listed in:
Network and Internet > Wi-Fi > [Name of your Network] > Advanced
If your DNS setting doesn't match your PiHole IP, then you'll need to edit your network (disconnect and edit I think).
You should also turn off Private DNS mode:
Network and Internet > Wi-Fi > Advanced
And check that Chrome (if you're using that Browser) isn't using DNS over HTTPS (DOH) or anything else (disable those): Guide.
Good luck!