2

I've been running Pi-Hole on the Raspberry Pi 3 Model B+ continuously for a few weeks now. Everything worked great but all of a sudden it stopped 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 the Pi as being connected to it, which is strange because according to the Pi, it is connected to my router.

What could be wrong with it and how can I solve it?

NB: The Pi is connected via Wi-Fi. 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.

7
  • 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?
    – user115418
    Apr 8, 2020 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. Apr 8, 2020 at 19:43
  • Has the Pi changed it’s IP address?
    – user115418
    Apr 8, 2020 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 Apr 9, 2020 at 11:25
  • Can you access the portal directly from the Pi if you go to 127.0.0.1/admin/
    – user115418
    Apr 9, 2020 at 15:43

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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