this post was submitted on 13 May 2024
2 points (66.7% liked)

Pi-hole

412 readers
3 users here now

The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content without installing any client-side software.

founded 1 year ago
MODERATORS
 

I have the Pi-Hole acting as the DHCP server and DNS server too and this works fine for 23 hours and then it flops and I don't understand why.

Basically after 24 hours, all devices just disconnect from the router and when I try and reconnect them, they say they're unable to get an IP address.

But before they drop connection, they all report the DNS server as the Pi-Hole.

If I change my DHCP to static and connect to my router, I see that the Pi-Hole is still connected with its static IP just fine.

If I factory reset the router and then add the same SSID and password, the Pi-Hole automatically reconnects and then all devices can reconnect again, so I'm unsure what the issue is.

Can someone break this down. I feel stupid for not understanding what's happening here.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 6 months ago (1 children)

Your very welcome, I do support a SaaS system for the UK NHS. So I do have a bit of networking skills, that and I self host things both at home and in OVH.

If you have your pi zero setup with a static ip, you should find things work all day every day now.

Just remember that every day is a school day, even for experienced sysadmins.

[–] [email protected] 1 points 6 months ago

It's either been 24 hours of 17 hours, I can't quite recall, but it seems to be sticking. Everything is working. Thank you so so so so much. Honestly, I'm smiling like a little kid right now. Thank you so so so much!

Honestly, with you doing sysadmin for the NHS, I'm more confident to get sick now 😂

Nah, I can't thank you enough. You're a bloody legend. Thank you, thank you and thank you again!