2

I've been running pi hole on the raspberry pi 3 B+ continuously for a few weeks now. Everything worked great but all of a sudden it stops working.

My devices don't connect to the internet as if they're trying to look up a non-existent DNS. I cannot access the web portal, I cannot ping to the raspberry pi from other devices, I cannot ping other devices and websites from it. My router doesn't even show pi as being connected to it, which is strange because according to pi, it is connected to my router.

I have no idea what is wrong with it.

I'm new to this so I don't know what information to attach along with this, please advise.

  • Is the Pi connected via WiFi or Ethernet? What version of the operating system? Where you doing anything (or had anything else) on the Pi other than Pi-Hole? Have you tried pulling the power and restarting? Have you tried plugging a monitor in to see if the screen shows anything? – Andyroo Apr 8 at 16:51
  • @Andyroo It's connected via Wifi.I'm using the 2019-04-08 stretch version. I'm only using it for pi-hole. Restarting didn't work. I connected it via HDMI, everything seems fine except that I can't connect to the internet. – pumpitup9090 Apr 8 at 19:43
  • Has the Pi changed it’s IP address? – Andyroo Apr 8 at 20:44
  • @Andyroo My router did reset itself. So I changed the SSID and password back to how it was when it was working, clicked on forget network on the pi and typed the password in again. But, the pi hasn't changed it's IP – pumpitup9090 Apr 9 at 11:25
  • Can you access the portal directly from the Pi if you go to 127.0.0.1/admin/ – Andyroo Apr 9 at 15:43
0

My PiHole once had a similar problem - it couldn't work as a DNS server because it didn't have the right time. I googled for a solution and eventually found one - it was installing ntp on the Pi, then forcing “nameserver 8.8.8.8” on /etc/resolv.conf (and changing the right of this file to 555 to avoid system modification each time). Hope it will help.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.