I use Pi-Hole and works great. I’ve heard about AdGuard and seems the same thing as PiHole, but you have to install an app/extension. Everyone in this community recommend NextDNS. Whats the difference between them?

  • All kind of achieve the same thing, but in different ways.

    Pi-Hole is the completely free way of doing ad and tracker blocking at the DNS level. Free as in free beer and free as in free speech.

    AdGuard is free as in free beer but not as in free speech.

    Both solutions mentioned above have to be self-hosted.

    NextDNS is a managed service for which you have to pay a (very small) monthly fee for. The advantage is that - once setup - it pretty much just works (exception being custom updates to filter lists, but that applies to the other two as well). What’s cool about that is that it’s reachable from outside your local network, so you can use it on your phone or whatever even when you’re not at home (they offer apps and profiles for easy setup). You can expose your Pi-Hole/AdGuard DNS to the outside world, but this has some caveats and probably higher latency/worse availability.

    Opinions differ when it comes to privacy, but I’d say they (NextDNS) are trustworthy/not selling your data as this doesn’t seem to be their business model. Obviously, with Pi-Hole you don’t have to trust anyone (except the code authors unless you study the code yourself), so when in doubt Pi-Hole wins in this regard.

    Be careful when setting up either of these as the default DNS service in your home network, especially when other users are in your network, as the default configuration of either of these will break some websites, services and apps to stop working and you (the admin) would have to handle the errors your users are getting by adding exceptions and/or different filters. The good news is that there are more conservative filter settings available that will still block most ads and trackers while being way less likely to break anything.

  • I use Pi-Hole and works great. I’ve heard about AdGuard and seems the same thing as PiHole

    Only if you’re talking about AdGuard Home, then yes. When you talk about AdGuard you usually just mean the adblocker app which is something completely different.

    I used all three of them. While AdGuard Home has some nice features that Pi-hole doesn’t, it in my experience has much more problems and has been unstable on some updates. So since you prefer stability for your DNS server I’d recommend Pi-hole over AdGuard Home.
    NextDNS doesn’t need to be self-hosted because it’s a service on the internet. The disadvantage is that you are offered a list of blocklists from which you can choose but unlike Pi-hole or AdGuard Home you cannot add more lists. But they offer many lists so that’s not a big problem. If you need more than 300k queries a month you need to pay for their service. But since NextDNS is a service on the internet it means that you can use it on all of your devices no matter where you are.

    • Strange we’ve had differing experiences. I’ve only been using Adguard for a couple of months, but the reason I left Pihol was because of its instability! Or at least, the database would constantly get chowned elsewhere when running in docker so I couldn’t whitelist any domains.

      Adguard’s been 100% stable so far for me.

      • As long as it works fine for you I’m glad. :)
        If you’re interested here are my three bad experiences with AGH:

        • The “use AdGuard browsing security web service” option made all DNS queries so slow after a week to the point where nothing was resolved anymore. (That was 2 years ago, maybe fixed now)
        • They removed some library with an update which caused a panic when booting AGH so it wouldn’t start anymore. That library was needed to use the DoH encryption of one of my upstream DNS servers. I had to remove that one from my config.
        • The next update didn’t fix this issue but added another one: A few hours of running this version ( I don’t remember the version number) the AGH service suddenly crashed. I started it again but 5 minutes later it would crash again. That was the point where I stopped using AGH because it didn’t feel reliable anymore and updates only made it worse.
        • Fair enough!

          It’s just worked out of the box for me - and TIL it actually existed two years ago, I hadn’t heard of it until about six months ago.

          But yes - it’s great to have choices and pihole deserves some extra credit for blazing the trail in this area.

    • I currently selfhost AdGuard Home and it works very efficiently. I added custom lists plus personal filters, and as a plus, I exposed the DoT on the web, so I can use the device I “authorized” no matter where I am. Big plus for me

  • Just to clarify, you don’t need to install an app or extension to use AdGuard, you can just use its dns servers. I use their own dns for my phone, so that it works everywhere, but I use my self hosted AdGuard instance at home.

    I haven’t needed to change anything in the filters yet, but by self hosting, I’ve got the option if it’s ever needed.

  • Adguard is a VPN. And does what essentially Mullvad does by sending ads or malware or anything they have marked malicious into a void. Pi-hole works very similarly.

    NextDNS works similarly by funnelling all your requests through their DNS which has been set up to remove some of the bad stuff out there. Cloudflare (1.1.1.1) also has a similar service (though they just stick to malware): https://avoidthehack.com/best-dns-privacy