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!!

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      7 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
        4
        ·
        7 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
          7 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.

  • Powderhorn@beehaw.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    7 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.

    • Reannlegge@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      20 hours ago

      Waterwolf I have found removes a lot of the Google bloot that is in Firefox.

      For 100% of people who use the internet, for the love of glob either turn off ssh or change the port number! Unless you have a setup for crowdsec, than have one pi or some other SBC with port 22 open.

      So for the 99% of people who want to feel as if there are no ads on the internet Waterwolf and uBO is enough.

      For the 99% of people who want to block ads and trackers on all devices, in most instances, there is all of the above plus pihole with unbound and a secondary pihole and that will be good enough. And for the love of glob they do not have a “smart” TV attached to their LAN even if it is on its own vLAN.

      For the 99% of people, without a static IP, who do not want to feel targeted using searXNG and the above things is good enough. People with a static IP a lot of the search engines rate limit you or just block static IPs from using their API.

      For the 99.9% of people who do not want to get, much, spam and block tracking pixels there is all of the above with your own email service, self-hosted (if they are crazy) or hosted with their own domain, with a new address for everything. This can also be used for unlimited free trials but I have only repeated free trials 2 or 3 times! I personally have a wild card setup with my current host so I get the occasional spam email just from bots who randomly find my domain and try to send it something. When that happens I block the address, occasionally domain, from sending me stuff and block anything sent to the address they sent it to. My previous host gave me unlimited emails for some ungodly amount of money and no wildcard so I had to sign in and manually create a new email address for everything sure I did not get the random fishing email sent to a random address but I had to actually plan on giving out my email before hand.

      For the 99% of people who want to feel safe on the internet there is all of the above plus OpenWRT, vLANs, etc.

      For the 99% of people who want to feel the warm embrace of that security on their LAN there is Wireguard, or something similar that is FOSS, to VPN into their LAN.

      I do agree with you that for the 99% of people a uBO, pihole, and router level VPN is enough, I do disagree with pointing to Quad9 is the right answer it should be going to Unbound first. I personally do not use a router level VPN for outgoing traffic because there is no FOSS thing other than TOR and right now I do not have the money for one. I guess I am in the 1% ish of people?

    • unitedwithme@lemmy.todayOP
      link
      fedilink
      arrow-up
      3
      ·
      7 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
        ·
        7 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
          ·
          7 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.

    • unitedwithme@lemmy.todayOP
      link
      fedilink
      arrow-up
      3
      ·
      5 days 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 privacy@adguard.com.” 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
        ·
        5 days 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
          ·
          5 days 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.

  • Ooops@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 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.