• President@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    41
    ·
    22 hours ago

    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
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 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
      link
      fedilink
      English
      arrow-up
      18
      ·
      edit-2
      20 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.

    • normalexit@lemmy.world
      link
      fedilink
      English
      arrow-up
      28
      ·
      edit-2
      21 hours ago

      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
        link
        fedilink
        English
        arrow-up
        18
        ·
        20 hours ago

        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

    • curbstickle@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      17 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).

    • Brokkr@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      22 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
      link
      fedilink
      English
      arrow-up
      9
      ·
      21 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
      link
      fedilink
      English
      arrow-up
      5
      ·
      22 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
      link
      fedilink
      English
      arrow-up
      3
      ·
      21 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.