85
submitted 10 months ago by PerogiBoi@lemmy.ca to c/selfhosted@lemmy.world

Every month or so all my devices lose internet and the only way to connect them all back is to disconnect them from the DNS server that Pihole is running.

I set my Pihole to have a static IP but for some reason after around a month or maybe longer, it just fails. This has happened 4 times over the last while and the only fix is to essentially uninstall everything on my Pihole, disable it, and then reconfigure it from scratch again.

I’m not sure what’s going on so any help would be appreciated.

you are viewing a single comment's thread
view the rest of the comments
[-] betz24@lemmynsfw.com 4 points 10 months ago* (last edited 10 months ago)

I haven't done any research on pi-hole (I use firewalla) but is a raspberry Pi even powerful enough to support a small home network?

What kind of CPU/RAM usage for a your unit normally have?

[-] watcher@nopeeking.link 5 points 10 months ago

My RPi4 is running PiHole, mailu and HomeAssisstant, without hickups.

[-] PerogiBoi@lemmy.ca 4 points 10 months ago

Ya from my research raspberry pi is powerful enough to act as a DNS server for a home. I probs wouldn’t put a 4k plex library on it but it should do the job.

In my case however I’m not running a raspberry pi. I have installed PiOS into Windows using WSL (like a lunatic) in an effort to not reformat my whole server computer and install something more practical (like Ubuntu server).

[-] astrsk@artemis.camp 1 points 10 months ago

Just fyi you can install pihole on a barebones Debian system too. Mine is running in a Debian 11 vm on my threadeipper proxmox hypervisor. Only gave it 2 cores and 2gb ram and it’s basically transparent to my devices, performance wise. DNS is very light.

[-] Bizarroland@kbin.social 1 points 10 months ago

I'm running a bare metal esxi server and one of the containers is running my pie hole and it is relatively Rock solid.

I think the original poster should probably just set a Cron job to reboot the pihole every 3 days or so at like 3:00 in the morning and that would solve the problem.

[-] PerogiBoi@lemmy.ca 1 points 10 months ago

That’s a decent idea for a workaround but I think I found my issue and have set my static IP address for my server to be outside my DHCP range. Here’s hoping it works. I’ll know in 90 days haha.

[-] seaQueue@lemmy.world 3 points 10 months ago

I give my pihole container about 1GB of RAM and one core and it's good to go (two cores helps with maintenance tasks though.) An entire RPi just to run pihole is such overkill.

[-] deadcatbounce@reddthat.com 3 points 10 months ago
[-] zygo_histo_morpheus@programming.dev 3 points 10 months ago

It's not that much of a strain since it only handles DNS traffic.

When you go to e.g. programming.dev, you computer needs to know the actual IP and not just domain name so it asks a DNS server and recieves an answer like 172.67.137.159 for example. The pihole will just route the traffic to a real DNS server if it's a normal website or give a unkown ip kind of answer if it's a blacklisted domain. Actually transmitting the website which is the bulk of trafic is handled without the piholes involvement.

this post was submitted on 11 Oct 2023
85 points (85.1% liked)

Selfhosted

38744 readers
613 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS