I am one of those zillion users. I love it.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I feel bad for households without a nerd to set up the family pihole
Like families where nobody cooks
You have never had some family member experience a broken website that they needed to work but you were not around to fix it on the server side?
That's the reason I no longer have a pihole..
I set a separate SSID on the wifi without the pihole as the DNS provided by DHCP that they can use.
@bernhoftbret@lemmy.world pihole is great. I use AdGuard now but either is good. The important thing is having a dns server at home
Agreed. DNS filtering is an important tool for safety, privacy and general well-being.
I installed a Pi-Hole largely to serve as a local DNS, but enabled the ad-blocking 'cause it seemed silly not to. My wife got very upset. Apparently she likes the ads.
With that aside though, it seems to work quite well. Just make sure to (a) use a reasonably-powered device (my Pi Zero appears to be taxed by it) and you should probably use an Ethernet connection 'cause my Pi Zero regularly flakes out so DNS requests fail due to the IP being "unreachable" for a half second.
Apparently she likes the ads
Must be to most wife thing I've ever heard :)))
My wife got very upset. Apparently she likes the ads.
Set static IPs for her devices, then whitelist that device IP past the block lists by adding it to a group, then regex allow domain: '*' for that group.
I run Pi-Hole in a docker container on my server. I never saw the point in having a dedicated bit of hardware for it.
That said, I don't understand how people use the internet without one. The times I have had to travel for work, trying to do anything on the internet reminded me of the bad old days of the '90s with pop-ups and flashing banners enticing me to punch the monkey. It's just sad to see one of the greatest communications platforms we have ever created reduced to a fire-hose of ads.
Thats what ublock is for. But yes.
Ya, I actually run both uBlock Origin and NoScript in my browser on my phone and personal machine (desktop). On my work laptop, those are a no-go. So, I get the full ads experience on my work machine when traveling.
I use Pi-Hole unbound, and I really like it. However, Technitium seems to be the new favorite and has a lot of bells and whistles that Pi-Hole doesn't. I haven't run Technitium basically because Pi-Hole fits my needs. If I were just starting out, I would probably consider Technitium.
I'll have to check on this one, never heard of it, and unbound has a tendency to randomly fail on me after a few months.
I have Unbound configured on my pihole, it's been running fine for years.
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.
Indispensible.
A longer answer would come out of: "What do you think of a home lab environment without Pi-Hole?"
Dispensible
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.
I preferred AdGuardHome over PiHole, but currently my servers are collecting dust as I need to get electrical work done before I can hook them up.
It really sucks…
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.
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)
3B on the original SD card still. But I also use log2ram to help reduce writes to the SD card.
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.
Yes.
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?
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.
Technitium DNS Server is a bit more feature rich but honesty I would just run a DNS filter on your router
I used pihole for years, but the recent updates made me look for alternatives. There was a major (v6?) update fuckup, but also some random freezes and block lists going missing...
Looking for alternatives, I tried out Technitium. Extremely easy to set up, rock solid, running steady for about 6 months (with frequent updates), and they recently introduced built in high-availability.
To anyone having issues running on a pi it’s likely either or both of the following item -cheap 5v power supply. Yes you can use an old phone charger but it won’t cut it for long term usage. Get a quality unit or better yet the branded pihole charger. We ended up with a Poe hat that it runs off. Sorted Ethernet and power supply.
-memory card. Buy a quality, fast card and you will be fine.
Going on 8 years with my current pi setup. One failure around 6 years in which was the memory card
I have that virtualized, times three. Two to have a failover, and third one with different settings for my kids (cloudflare's family dns)
Holy moly. Mine is virtualized as well, but with no fail overs.
I had a look at it but didn't use it for longer, I used adguard later in a lxc container later, since i didn't see a point in using a different device, right now the adguard is running as a service on my opnsense so i don't have to rely on something other than the router for internet. I like the option to block on a dns level, and to be fair it's always a similar set of blocklists that can be used, the major difference is in the preselection. right now I could probably switch back to the default opnsense dns server and add the lists there, only losing the info on what has been blocked.
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.
I prefer using NextDNS, so that it works wherever I am
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.
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.
Not a fan of Pi-hole itself, but other than that,why not?
(Technitium DNS has some advantages down the road)
Oh, why don't you like pi-hole?
Pihole has a few drawbacks when your systen grows - a lot of things then need to be done by hand that others do either automated or at least easier.
Personally I have become very fond of technitium - it does everything you will ever need and the main drawback is that it seems so fucking overwhelming initially. But: Once you figured out that you basically only need 10% of the fields it becomes easier. And it's fucking solid and just works and works and works.
Success story here. 6+ years running pihole on proxmox as my primary DNS for everything on my network. It’s never missed a beat, never crashed. I update infrequently. It’s just good software.
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.
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.
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.
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
.........
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.
The number one rule of selfhosting unbound. Make two.
You won't be happy one morning if you don't. I run unbound with adblocking on OpenWRT, but if my router dies, my whole network does anyway, so... Eh.
I run pihole without any problems as a docker container. I assume you want to ask how well it works to add custom records, because that's what you usually do with a dns server.
Adding single records with the web ui works just fine. However, adding wildcards isn't possible. So you end up attaching a terminal to your container and adding dnsmasq configs yourself. This is a bit poor.
On the other hand: How often do you need to add wildcards? I needed like 2 entries since I set up pihole a few years ago.
I'm running one Pi-hole, but not on RPi. One is an LXC container on my Proxmox host, another is on dedicated Dell Wyse thin client box.