this post was submitted on 16 Dec 2025
209 points (96.0% liked)

Selfhosted

53730 readers
840 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I've run Pi-hole in my homelab for years and benefited from using the service. As well as the hands-on education.

With that said, what is everyone else's experience with the software? Do you use Pi-hole in your homelab setup? I would assume many hundreds of thousands of people use Pi-hole.

Edit #1:

The image attached to this post is my RPi 5, which hosts the Pi-hole software. Big supporter of the whole "SBCs for learning and home improvement" mentality.

Edit #2:

It is interesting to see the broad support for Pi-hole and DNS blockers in general. The more options, the healthier the tech ecosystem is, which benefits everyone.

(page 2) 49 comments
sorted by: hot top controversial new old
[–] AMillionMonkeys@lemmy.world 13 points 1 day ago (1 children)

I have pihole running on an old Raspberry Pi B and it just chugs along. Except for the wonky update they put out a few months ago. That took some cleaning up after.
I check the dashboard a few times a day and it's a good way to notice network issues and misbehaving programs.
I'm also running it through cloudflared to encrypt the requests, in case my ISP is snooping on them.

[–] Evil_Shrubbery@thelemmy.club 2 points 1 day ago

Same, the og one (v1. 0 with PCB without the holes!) at my parents place runs it for a very long time (the second sinkhole is on proxmox on a beefier server, the Pi is there just bcs I still love it).

[–] randombullet@programming.dev 2 points 1 day ago

I just use adguard home. Worker a little better in my docker setup.

[–] orbituary@lemmy.dbzer0.com 12 points 1 day ago (1 children)

Indispensible.

A longer answer would come out of: "What do you think of a home lab environment without Pi-Hole?"

load more comments (1 replies)
[–] Routhinator@startrek.website 1 points 22 hours ago

I have run Pihole on 2 physical Pi 4s (DietPi OS) with config sync for 3 years now. Core to the house. Very reliable.

[–] Appoxo@lemmy.dbzer0.com 1 points 22 hours ago

Doing it.
If it works? Why not

[–] Fedegenerate@lemmynsfw.com 2 points 1 day ago* (last edited 1 day ago)

I run 2 instances of pihole/unbound as lxcs on my main server and local back up, works great.

If I didn't have the two big boxes I'd use my pi4/zero2 to run two instances of pihole/unbound.

If I didn't have my pis, I'd run 2 instances of pihole/unbound on literally anything I could install it on.

What I'm saying is that I consider pihole/unbound to be essential infrastructure at this point. I'm also trying to say I've broken my only instance of pihole enough times to understand the importance of redundancy.

I use Pis as a (sort of) hardware key to get family and friends onto my Tailscale VPN. They all have pihole too. I haven't convinced any of them to get a pi0 as a redundant box, but I'm sure they'll learn eventually too. No doubt it'll be my problem.

[–] GreenKnight23@lemmy.world 9 points 1 day ago

pihole has got the best UX for DNS management hands down. it's easy, not overly complicated, and perfect for entry-level selfhosting.

the fact that it actively blocks ads is a bonus.

[–] plateee@piefed.social 4 points 1 day ago

Maybe a controversial take, but I like pihole for blocking only - I have a pair of powerDNS servers set up for my internal name resolution. They recurse to Pihole, but can fall back to internet DNS servers if Pihole isn't responsive.

I tried pihole for local resolution and found it to be a fairly large pain to automate. Plus kubes has PDNS hooks for auto-updating DNS entries.

[–] bobthecowboy@lemmy.world 8 points 1 day ago (1 children)

PiHole 4b powering my home DNS. Been running for ~4 years as of next month (and still on the original SD card I installed it to!). 100% recommend.

[–] metaStatic@kbin.earth 6 points 1 day ago (1 children)

and still on the original SD card

incredibly lucky. my Pi burned through so many cards I wouldn't use it for a pihole again, especially when mini pcs are better and cheaper

(and before anyone asks yes I was logging to ram)

[–] The_Jit@lemmy.world 5 points 1 day ago

3B on the original SD card still. But I also use log2ram to help reduce writes to the SD card.

[–] swizzlestick@lemmy.zip 7 points 1 day ago (1 children)

It's fine, did the job for me at the time. Just wanted the ad and nasty blocking. Keeping it and the filters up to date is easy.

Now have a pfSense box with pfBlocker-NG, which does essentially the same thing. Also runs Snort as an additional layer, and makes penning in IoT stuff possible.

[–] AtariDump@lemmy.world 3 points 1 day ago (1 children)
[–] swizzlestick@lemmy.zip 2 points 1 day ago

Aye it's on the list to try & potentially swap out when time allows. Probably over the holidays - no work until the new year after the 23rd, so no excuse really :)

[–] bneu@feddit.org 6 points 1 day ago (1 children)

Sadly, it was very bad. I tried it about five years ago on a Pi 4. In less than a year, the Pi crashed five or more times. Once it was due to a faulty SD card, and on several occasions it was due to other software on the Pi crashing. Each time, the internet went down, which made my family unhappy, especially when I was not at home and could not fix it.

I also saw little benefit as I already block ads on all my devices, and my smart home stuff has no internet access at router level.

I haven't tried it since. Should I try again now with redundancy? What are the benefits?

[–] Darkassassin07@lemmy.ca 9 points 1 day ago* (last edited 1 day ago)

A bit of redundancy is key.

I have my primary DNS, pihole, running on an RPI that's dedicated to it; as well as a second backup version running in a docker container on my main server machine.

Nebula-Sync keeps the two synchronized with eachother, so if a change is made on one, it automatically syncs to the other. (things like local dns records or changes to blocklists).

If either one goes down (dead sd cards, me playing with things, power surges, whatever); the other picks up the slack until I fix the broken one, which is usually little more than re-install, then manually sync them using piholes 'teleporter' settings. Worse case, restore a backup (That you're definitely taking. Regularly. Right?)

Both piholes use Cloudflared (here's their guide *edit: I see I'll have to find a new method for this... Just going to pin the containers to tag '2025.11.1' for now) to translate ALL dns traffic into DOH traffic, encrypting it and using the provider of my choice, instead of my ISP or any other plain DNS. The router hands out both local DNS IPs with DHCP because Port 53 outbound (regular dns) is blocked at the router, so all LAN devices MUST use the local DNS or their own DOH config. Plain DNS won't make it out.

DNS adblocking isn't perfect, but it's a really nice tool to have. Then having an internal DNS to resolve names for local-only services is super handy. Most of my subdomains are only used internally, so pihole handles those DNS records, while external DNS only has the records for publicly accessible things.

[–] possiblylinux127@lemmy.zip 5 points 1 day ago* (last edited 1 day ago) (1 children)

Technitium DNS Server is a bit more feature rich but honesty I would just run a DNS filter on your router

[–] Konraddo@lemmy.world 2 points 1 day ago

I couldn't figure out how to setup Pihole with Unbound so I use Technitium. Thank the Lord it exists.

[–] lorentz@feddit.it 1 points 1 day ago

I switched to https://github.com/0xERR0R/blocky

Pihole was fine, but had features I didn't care (mostly UI). Blocky is much smaller and lightweight

[–] _spiffy@piefed.ca 4 points 1 day ago

I love it! It took me a bit to iron out all the kinks with my network, but I am completely happy with it now.

[–] curbstickle@anarchist.nexus 4 points 1 day ago

I use technitium, but there is nothing "wrong" with using a pihole. I used to run several (containers, plus one physical), and have set up quite a few for family and friends.

[–] picnic@lemmy.world 4 points 1 day ago (1 children)

I have that virtualized, times three. Two to have a failover, and third one with different settings for my kids (cloudflare's family dns)

[–] nul9o9@lemmy.dbzer0.com 3 points 1 day ago

Holy moly. Mine is virtualized as well, but with no fail overs.

[–] JonhhyWanker@sh.itjust.works 3 points 1 day ago (1 children)

I use a RPi 5 running docker for: Pi-Hole, Jellyfin, Home Assistant, Heimdall. Works great, and there's still capacity left to add more services.

[–] bernhoftbret@lemmy.world 3 points 1 day ago (1 children)

It's amazing what you can do with modern computers. The number of services you are running on that RPi 5 is impressive.

Hadn't heard of Heimdall until you mentioned it. That looks like a fun tool to use.

[–] irmadlad@lemmy.world 4 points 1 day ago (1 children)

Hadn’t heard of Heimdall

If you're looking for a dashboard, there are quite a few of them. I use Homarr, but there is:

  • Homer
  • HomePage
  • Dashy
  • dashdot
  • Starbase-80

.........

[–] bernhoftbret@lemmy.world 3 points 1 day ago (1 children)

I have tried Dashy and enjoyed having a dashboard.

Out of those mentioned, Heimdall looks like the top contender. I need to ponder if a dashboard is a good move.

[–] irmadlad@lemmy.world 3 points 1 day ago

Oh don't do that, then you'll have to fill it! wink wink

[–] Sanctus@anarchist.nexus 3 points 1 day ago

My pi 1b handles the internal DNS for my game servers, which at this point is actually just minecraft because PSO:BB was way harder to setup than I thought. It works and it is extremely easy and it still holes all the tracking stuff too.

[–] MajinBlayze@lemmy.world 2 points 1 day ago

I set up split dns using a phone earlier this year, and it's been fantastic

[–] Unleaded8163@fedia.io 2 points 1 day ago (1 children)

I started playing with it, but decided that DNS was slightly lower level than I wanted to host myself (personal opion, more power to you if you disagree). Instead, I use NextDNS which gives me great control down to individual devices, blocks ads and malware, and doesn't bring down the internet for my entire home if I have a faulty power supply or SD card or whatever.

[–] B0rax@feddit.org 2 points 1 day ago

Your router has a redundant power supply?

[–] CameronDev@programming.dev 2 points 1 day ago (2 children)

I mostly like it, but over the last few months I've had my pihole die randomly during the day, which killed my home network, and I had to walk my partner through rebooting everything.

I've now got redundant pihole instances, but I'd really like to know what is going wrong with pihole. Its impossible to replicate, and very sporadic.

[–] village604@adultswim.fan 2 points 1 day ago (1 children)

I have my router powering my pi, so rebooting the router will reboot the DNS server.

[–] CameronDev@programming.dev 2 points 1 day ago

I use a separate nuc, and even still, rebooting the router is a non-trivial exercise. The internet was wired into the top shelf of a cupboard, so need a step ladder to get to it.

Since getting a second pihole setup I haven't had any issues, so I think I'm okay now. Hopefully it fails over the christmas break when I'm home :D

[–] nymnympseudonym@piefed.social 1 points 1 day ago (1 children)
[–] CameronDev@programming.dev 1 points 1 day ago

I dont think so, because everything else remains up and working. But it certainly could be.

[–] MoogleMaestro@lemmy.zip -3 points 1 day ago* (last edited 1 day ago) (1 children)

Depends on how you do it and what you need from it. I've actually moved on from my Pihole instance, for reasons I'll get into later.

The broad appeal of using Pihole for DNS in a homelab is the ability to route services from domain names on the local host. This can be really useful, especially for "hacking" service availability onto other unintended devices. Additionally, it can be nice for less tech-savvy users who might not be comfortable editing /etc/hosts or just want to check out a service on their phone web browser.

I would generally recommend using an isolated device for Pihole needs; If you're doing work on your home server, you'll probably want all users on your service to keep their internet connection working to not be a burden to others living in your household (if you have others). A raspberry pi is a really good target for a pihole, and even a cheap old/used one from the interwebs can serve you well (I was using one recently on a pi3b and it was no issue.) Keep in mind that you can't really do fallback dns configuration unless you're ok with losing the key feature of pihole (blocking ads and redirecting domains). Notably, I'm actually not a proponent of running all services on individual compute units generally, I just think DNS is special and you don't really want to tie it into docker services to keep a separation between the services and the server, so to speak.

This brings me to the second feature: adblocking. This one is really a mixed bag. Ultimately, I turned this feature off only because it doesn't work for the websites that have arguably the most ad content (youtube, twitch) and really only serves to hurt the smaller players. Sometimes it's great for blocking things like SmartTV advertisements or data encroachments, but it's very hard to block ads from a web domain in a way that doesn't outright block the service itself (so blocking youtube ads without blocking youtube is, seemingly, a fools errand.) I'm willing to hear other people's opinion on this, I just couldn't get this working to a satisfactory degree.

I've abandoned Pihole as a local dns resolver. This is because Tailscale suits my needs and also allows me out-of-house connectivity to things like my music or personal data so my phone never goes out of communication with my home network. When you use tailscale at home, it's generally really good about routing that through your local network instead of the relay, so there shouldn't be that many downsides. Note, I say generally, because there have been times where it goes through a relay unexpectedly which I haven't solved yet (this is likely a local router configuration issue, anyway...)

I notice that you're already familiar with Pihole, but just thought that it would be best to "explain" my thoughts on it in the form of a recommendation/editorial form.

[–] N0x0n@lemmy.ml 1 points 1 day ago* (last edited 22 hours ago) (1 children)

turned this feature off only because it doesn't work for the websites that have arguably the most ad content (youtube

That's not what piHole is for. If you want to block youtube's ads you need to install uBlock origine as addon in your browser (if your browser still allows it!) Or self-host something like invidious or use one of the working public instances (if privacy focused).

I don't know if it works with twitch though 🤷‍♂️

[–] MoogleMaestro@lemmy.zip 0 points 1 day ago

I mean, it seems like Pihole is generally talked about first as a "ad filter" when it's discussed online and second as a dns resolver. But either way, just saying that the use for that is pretty much overblown and not worth actually trying for a smart tv, for example, where you can't normally block ads anyway. (Might be nice for preventing software updates, though.)

load more comments
view more: ‹ prev next ›