Pihole randomly stops working after a day or two

Expected Behaviour:

Pi-hole blocks all incoming ads while still allowing for the wifi and network to be properly used

Actual Behaviour:

Pi-hole doesn’t allow internet to actually work, for example it will say i’m connected but won’t load a page or something. works just fine when i revert back to the normal dns settings on my router. i’m using a orange pi pc running ubuntu. i’m not sure if that affects things or not...

Debug Token:

https://tricorder.pi-hole.net/4u41ydj73m

That's what you would observe if a page you are trying to access is served by a domain that is blocked by some of the blocklists you use; see also

...no. literally every page won’t load. imagine being in airplane mode, but still connected to the wifi. it’s not just doing what it’s supposed to. the wifi does not work what so ever. theres not a connection to the internet. if you try and load something it won’t load. this is across every device on the network. do i need to clarify anything else?

Your debug log shows zero traffic to the Pi-hole. It appears that DNS queries are not making it to Pi-hole. Check for firewalls that would block port 53 traffic, and check your router settings as well.

   [2020-11-08 22:57:14.314 962M] Imported 0 queries from the long-term database
   [2020-11-08 22:57:14.316 962M]  -> Total DNS queries: 0
   [2020-11-08 22:57:14.316 962M]  -> Cached DNS queries: 0
   [2020-11-08 22:57:14.316 962M]  -> Forwarded DNS queries: 0
   [2020-11-08 22:57:14.316 962M]  -> Blocked DNS queries: 0
   [2020-11-08 22:57:14.316 962M]  -> Unknown DNS queries: 0
   [2020-11-08 22:57:14.317 962M]  -> Unique domains: 0
   [2020-11-08 22:57:14.317 962M]  -> Unique clients: 0
   [2020-11-08 22:57:14.317 962M]  -> Known forward destinations: 0

From a client that you believe should be connected to the Pi-Hole for DNS, from the command prompt or terminal on that client (and not via ssh or Putty to the Pi), what is the output of

nslookup pi.hole

orangepi@orangepi:~$ nslookup pi.hole
server: 192.168.86.1
address: 192.169.86.1#53

name: pi.hole
address 192.168.86.210

that’s what it says. i generated another debug log because i might have had that disconnected from my network at the time of debugging.
https://tricorder.pi-hole.net/fwbpekcyf1

oh wait you said from a client. okay so i did that from my computer which is connected to the pihole.

server: unknown
address: 192.168.86.1

name: pi.hole
address: 192.168.86.210

Seems like it is working now.

   [2020-11-09 21:17:23.463 11718M]  -> Total DNS queries: 91770
   [2020-11-09 21:17:23.463 11718M]  -> Cached DNS queries: 5814
   [2020-11-09 21:17:23.463 11718M]  -> Forwarded DNS queries: 72277
   [2020-11-09 21:17:23.463 11718M]  -> Blocked DNS queries: 13679
   [2020-11-09 21:17:23.463 11718M]  -> Unknown DNS queries: 0
   [2020-11-09 21:17:23.464 11718M]  -> Unique domains: 2584
   [2020-11-09 21:17:23.464 11718M]  -> Unique clients: 4
   [2020-11-09 21:17:23.464 11718M]  -> Known forward destinations: 5

Your client is using your router as upstream DNS server which forwards the request to pihole. This is a valid setup, but you might miss out some features of pihole (like group management) as all client DNS requests are coming from your router (from pihole's perspective). If you want to change that, announce pihole's IP as DNS server via DHCP.

1 Like

could you walk me through how exactly i would go about doing that? thank you

It's very different for every router out there. Unless a user has the same router/modem, you'll not have much luck. What brand/type is your router? Do you have screenshots of your router's setting menu to share with us?

Okay so i have 2 routers (kinda). i have the normal one that verizon gives you, but i also have a google wifi, which is a mesh network. if actually allows me to get wifi throughout the house lol.

here’s a screenshot of the advanced settings, which is where i’m assuming it would be.

well i’m having issues with the pihole again.

I would go for "LAN" and see if it allows you to specify a DNS server in the DHCP area.

yes i think it does. this is what it says. what do i put?

Depends on where the DNS line is.

It seems like this router does not allow to set a specific DNS server for LAN devices. I guess, it will set it's own IP as DNS server.

What options do you have under "Advanced networking/DNS"?

2 posts were split to a new topic: Pi-hole stops after several days

okay i think i fixed my issue. i changed to using a ras pi zero. i was using an orange pi pc. now everything is working, haven’t had any issues!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.