I responded to someone in comments on a post that may not get as much visibility, and wanted to share something that might help some others who are newer to this.

I referenced Quad9 DNS as probably one of the best private DNS you can use, Swiss based, no log, no tracking, no data to sell, etc. They also implement DNSSEC, DoH, DoT, QUIC, ECS (which you may or may bot want), malware blocking, content filtering, and maybe something else I’m forgetting.

Many DNS sinkhole apps, OSes, or systems can actually utilize Quad9 for your resolver while those systems also block ads. Below is my functional list of systems that I’m aware of, though I haven’t tested everything. I believe all are considered FOSS, too. If you don’t have a spare Raspberry Pi laying around, try running in HomeAssistant, Yunohost, ZimaOS (previously CasaOS), or others.

DNS sinkhole (Adblocking) apps:

  1. Pihole
  2. eBlocker
  3. Technitium
  4. AdGuard
  5. uBlock Origin

Feel free to comment and add your own I’m maybe not aware of. I’m no software engineer, but I can read through some code, though not an expert, nor have combed through these personally. Usually I’ve tested/run at the recommendation of others over the years before my ban on Reddit (for shitting on AI).

Hope this helps!!

    • unitedwithme@lemmy.todayOP
      link
      fedilink
      arrow-up
      3
      ·
      12 hours ago

      Correct, no ad blocking, but it’s fully private, no DNS leaks, you can use the malware filtering option too.

      Is this the correct URL? https://adguard-dns.io/

      Quad9 is a nonprofit based out of Switzerland, they’re DNS-focused, not so focused, that’s why they don’t do ad-blocking. I watched another commenters link to the CTO talking about what the focus is, how they work, etc. He jokes they don’t know their customers, because they hold no data at all.

      Adguard is a for-profit company that sells services, they’re based out of Cyprus, and have varying privacy policies depending on what service out website you’re using. Aka, it sounds like they’re monetizing your data in some way, shape, or form. “We store your Personal Data in our own data center located in Frankfurt, Germany. Your Personal Data may be processed by our employees, who can only access your data through their job duties on a need-to-know basis. If you have questions or would like to know from which countries your Personal Data may be accessed, you can write to us at [email protected].” If you’re OK with that, that’s fine, to each their own. They don’t sound like a bad company either, don’t get me wrong. Everyone will have different needs and wants, and views risks or threats differently.

      • smeg@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        12 hours ago

        Is this the correct URL? https://adguard-dns.io/

        I don’t know, I don’t have any accounts with them or anything, I just point the private DNS on my phone to dns.adguard.com. I used Mulvad’s one before but it seemed a little flaky, so I can’t really recommend that to non-techies (who otherwise would be using nothing).

        I’m always keen to try out a more privacy-respecting service (that’s why I tried out Quad9, I appreciate your post!) but ultimately ads are privacy-invading malware so that’s something I need to block.

        • unitedwithme@lemmy.todayOP
          link
          fedilink
          arrow-up
          1
          ·
          8 hours ago

          Oh I agree ads are a big no-no!

          My mobile setup is Proton VPN, “Secure core” (seems like VPN server relay), custom DNS to Quad9, split tunnel only to my XMPP server for improved performance.

          Firefox alt browser with PrivacyBadger (from EFF) and a couple other extensions and blockers. Invidious for any YT videos, Materialious for the YT Invidious app.

  • Powderhorn@beehaw.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    Firefox with uBO behind a pihole pointing to Quad9 and on a router-level VPN is sufficient for 99% of users. And the 1% know exactly who they are and will harden further.

    • unitedwithme@lemmy.todayOP
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Good point, but if I can help anyone with privacy or security, it’s a good starring point. Maybe a few more will get curious and go further down the rabbit hole lol.

      • Powderhorn@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        Fair enough. I love the spirit of your intent. But we’re already wildly self-selecting for people versed in any level of opsec by just assuming they know how to SSH into a headless Pi if something goes wonky, plus know *NIX terminal commands.

        I would say that for general users, switching to Firefox and getting uBO is enough. That much is very easily done by the layperson (and honestly would be sufficient for people looking at cat photos and reading email). From there, we veer off into needing technical skills.

        • unitedwithme@lemmy.todayOP
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          Touche. Though, I’ll admit I use VNC to access my pi, not SSH. I’m not a terminal fan if I can help it. I mean, I guess I still use terminal once in, so, maybe I should use ssh. Hmm. I never gave it too much thought.

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      2 days ago

      I never understood the point in setting up unbound and pi-hole. Unbound is perfectly able to use all the filter lists you use with pi-hole, so at this point it’s nothing but an additional layer for some fancy webui with stats you never actually look at.

      • BlackEco@lemmy.blackeco.com
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        I’m interested as to how you’d setup unbound to use block lists. But I suppose you’d have to set a timer or cron to update them, whereas Pi-Hole does it by itself.

        • Ooops@feddit.org
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          2 days ago

          Just pick a blocklist (usually via curl, coming in a “0.0.0.0 <host>” format), reformat it to “local-zone: <host> always_refuse” (sed is your friend) then add an include-line to the unbound config.

          And yes, you would need to set some timer to update it from time to time.

          PS: I stopped using unbound and went with dnsproxy (see my other comment here) because it was less cumbersome (just a few command line parameters instead of an extensive config) to serve at the same time as my local dns while also providing it via DoQ (and DoH for those stupidly restrictive networks) for me when I’m not at home. Also proper parallel querying is -iirc; I didn’t look at it for quite a while- still missing from unbound and it can work with DoQ upstream but not serve it yet.

  • Ooops@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    2 days ago
    1. AdGuard

    Adguard’s dnsproxy also works well on its own. And it can very well spare you much of the overhead. Just pick a few dns providers you trust, query them in parallel and add whatever ad-blocking list you want to use locally. All with such on not that complicated command…

    Example: dnsproxy --listen=127.0.0.1 --port=53 --bootstrap=9.9.9.9 \

    –hosts-file-enabled --hosts-files=/etc/dnsproxy/blocklist \

    –upstream=https://unfiltered.joindns4.eu/dns-query --http3 \

    –upstream tls://dot.libredns.gr \

    –upstream tls://dns3.digitalcourage.de \

    –upstream tls://dns.digitale-gesellschaft.ch \

    –upstream tls://anycast.uncensoreddns.org \

    –upstream=quic://dns10.quad9.net \

    –upstream=h3://cloudflare-dns.com/dns-query \

    –upstream-mode=parallel \

    –cache

    Yes, that’s an unreasonable amount of dns’ queried but I just wanted to get a few useful ones listed, also a wide spread from https (http2 and 3), tls and quic.