• Encrypt-Keeper@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    13 hours ago

    The main way is it has a built in recursive DNS server so you don’t have to duct tape Pi Hole and Ubound together

    • Ooops@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 hours ago

      I never understood pihole in the first place. It’s just a fancy web interface you do never look at if the thing does its job quietly in the background. And unbound alone is perfectly able to use blocklists with one line of configuration (and an onliner script to convert the common lists into the right format).

        • Ooops@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          48 minutes ago

          My “script” to update the blocklist from time to time was literally

          curl <blocklist1 link> > templist
          curl <blocklist2 link> >> templist
          grep '^0\.0\.0\.0' templist | awk '{print "local-zone: \""$2"\" always_refuse"} > blocklist.conf
          systemctl restart unbound.service

          and an include blocklist.conf at the bottom of unbound.conf (awk to convert it from the “0.0.0.0 <site>” format to “local-zone: <site> always_refuse”).

      • Encrypt-Keeper@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        Because you have to mess with it all the time. It’s easier to get in and get out to make changes with the nice interface. It’d be different if it was set it and forget it but realistically it’s not.

        • Ooops@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 hour ago

          It literally is a cron job or systemd timer to load an updated blocklist from time to time and I haven’t looked at it for years (well… other an changing a path when I switched from unbound to dnsproxy, because that one is even simpler, doesn’t even need a config other than a few parameters at startup and can provide DoH, DoT and/or DoQ access for when I’m not at home)