this post was submitted on 31 Mar 2026
36 points (100.0% liked)
Linux
13082 readers
919 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So I would start with checking if the request is reaching PiHole.
Next time it breaks, before restarting networkmanager, go check the pihole requests log and see if your DNS queries are even showing up there.
If they are, what does pihole show it's returning for the query, is it the correct IP?
If that's working properly then I would check if you can ping the server by IP directly, make sure that connection is working.
I will check this next time it happens (I'm very confident that will be later today lol)
Out of curiosity, can you think of a reason why a problem with Pihole would be fixed by restarting my NetworkManager? I was certain the problem had to be on my pc.
I don't think it's a problem with PiHole realistically, it sounds more like for some reason your DNS requests are not getting to PiHole.
Can confirm, when this happens my requests from desktop are not getting to pi-hole. Works from my phone without issue.
Nice, narrowing it down!
Next thing I would check is your configured DNS servers on the desktop, it needs to have only the pihole IP, if it has any other servers configured that is likely the issue.
Also worth pinging the pihole IP next time it's not working, to check if it's actually a networking issue instead of a DNS issue.