this post was submitted on 05 May 2025
319 points (98.5% liked)

Technology

69734 readers
3721 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] President@sh.itjust.works 36 points 19 hours ago (9 children)

I've been thinking of setting one up for a while, if I have a home server would I be better off hosting it on that or as a separate device? What are the alternatives to a raspberry pi? They've shot up in price over the years.

[–] fmstrat@lemmy.nowsci.com 2 points 5 hours ago

I run mine in Docker. Three containers: PiHole which resolves using Unbound, and a VPN container for Unbound.

That being said, if you routinely restart that device, or it crashes because of something else you are doing, it gets annoying real quick.

A cheap mini-PC running a low wattage n150 is a good thing to have for essential services in docker.

[–] acosmichippo@lemmy.world 18 points 17 hours ago* (last edited 17 hours ago)

I personally like it on a dedicated Pi simplly because I don't want DNS to die if i'm doing other server maintenance. the Pi is pretty much set it and forget it.

But i guerss you might as well try it on your server first and you can always buy a Pi if you find it to be too much of a pain.

[–] curbstickle@lemmy.dbzer0.com 6 points 14 hours ago

Definitely dont bother with buying a pi if you've got other hardware.

I have one physical (a 3b I had no use for anymore), and two running as containers. The containers do most of the heavy lifting, since they are so much faster than a pi they respond far faster, but the physical is nice for when I take down the clusters for maintenance (or when I lose power, the clusters shut down after about 3 minutes, the pi will keep going for a while on UPS).

[–] normalexit@lemmy.world 24 points 18 hours ago* (last edited 18 hours ago) (1 children)

If you have a server running, I wouldn't buy more hardware. They have good example documentation for just such a configuration:

https://docs.pi-hole.net/docker/

If your server already has those ports bound (specifically the DNS port 53) you are going to have to get creative; otherwise it'll work well!

Worst case, a cheapo pi 3 will do the job. At one point I had it running on a pi zero, so hardware requirements are pretty low.

[–] PoopMonster@lemmy.world 17 points 17 hours ago (1 children)

If your using docker and the ports are bound you can just use the network mode host so the container gets it's own ip. It's how I have adguard running on my unraid server

[–] normalexit@lemmy.world 8 points 15 hours ago* (last edited 15 hours ago)

Thanks, PoopMonster, that's a good tip!

[–] Brokkr@lemmy.world 14 points 19 hours ago

I put it onto my home server and it is working great. I can't tell you about all the options, but it was so easy to start another VM for it that I didn't look at other options too carefully.

[–] adarza@lemmy.ca 9 points 18 hours ago

if you've already got something running 24/7, you could just put it there. it doesn't need much for resources.

pihole does not need it's own box. it can run as a container (docker instructions in the official docs) or in a small vm.

i have two small vm running dietpi and used that to install pihole. i fully expected to run a few more things on them, that's why i chose dietpi--just have never gotten that far (it's only been like three years now).

[–] themurphy@lemmy.ml 5 points 19 hours ago

I have it on my Pi, and it does the job just fine. But if you have a home server with a little more power, do it there instead.

The last thing you want is your DNS to bottleneck. Never had a problem with my Rasp5, but it all depends on how many other services you try to run.

[–] JK_Flip_Flop@lemmy.world 3 points 18 hours ago

I run mine on a Intel N100 based mini PC from Beelink running Proxmox. It's just about the only thing it does at the moment so I've had no concerns about bottlenecking.

It's much more powerful than a pi and costs a not too dissimilar amount to one after you factor in a case, storage, power supply.

[–] swampdownloader@lemmy.dbzer0.com 1 points 16 hours ago

I run my main pihole on a pi and the backup on a NUC mini pc. Le Potato is a cheap pi alternative.