How reliable is Pihole?

The issue I am facing:
Pihole borked my home network after a day
Details about my system:
I had Pihole running on a pi mk1 model B with my bthub 4 router. DHCP was enabled on Pihole and disabled on the router
What I have changed since installing Pi-hole:
It was working fine yesterday blocking plenty of ads on all devices Got home from work today to find no network and no way of connecting to the router or pi, so had to factory reset the router.
Is this typical?

I trust you set a static IP address on the OS of the machine that runs Pi-hole?

If you didn't, your machine would have lost its IPv4 as soon as its DHCP lease as acquired through your router's DHCP server had expired.
A DHCP server can't operate without an IP, so as soon as your other client DHC leases would have expired, they also wouldn't have been able to acquire a new DHCP lease, which would perfectly explain your observation.

Thanks for your response. What you describe would explain the problem, however I did set the pi address to static. I followed the instructions on raspberrypi.com. I wonder if its the BT Home Hub, its not very user friendly.
Will there be a debug file on the pi that will show what happened?

Will there be a debug file on the pi that will show what happened?

Not very likely...

If the problem was with the router, perhaps the router logs (if your router exposes any logs) could explain the problem, but after the factory reset, all the logs are gone.

How did you do that?

Are you are referring to these instructions?

Assign a static IP address

To allocate a static IP address to your Raspberry Pi, reserve an address for it on your router. Your Raspberry Pi will continue to have its address allocated via DHCP, but will receive the same address each time. A "fixed" address can be allocated by associating the MAC address of your Raspberry Pi with a static IP address in your DHCP server.

Then what I've described is exactly what has happened, as your RPi would have acquired its static IP by means of a lease from your router's DHCP server.
You need to set a static IP address on the OS of the machine.

These are the instructions I used
https://www.raspberrypi.com/tutorials/running-pi-hole-on-a-raspberry-pi/
I can't find any mention of setting a static ip address on the pi, is that set from the pi-hole web interface?

Well, that tutorial is not setting a static IP on the OS of your Pi-hole device, but also recommends configuring a DHCP lease reservation for a fixed IP on your router:

Now that we know your Raspberry Pi’s MAC address and IP address, we can configure your router so it always associates the Raspberry Pi’s MAC address with its current IP address. Effectively, we’re turning the current dynamic address into a static one using the MAC address. In your router’s admin interface, configure a static IP address for your Raspberry Pi.

Your router would assign your RPi a fixed IP, and...

No, as mentioned in both of my previous replies, you need to set the static IP on the OS of the machine that runs your Pi-hole.
You'd usually do so through your chosen OS's network management tool.

For the current RPi OS 12/Bookworm, that tool would be NetworkManager.
NM offers several ways of setting a static IP, nmtui probably being the most accessible one.

ok thanks for your help, ill give it a go again.

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