Hey, not sure if this is the right community, but looking for some information.

I’ve seen many people strongly recommend AdGuard Home for network-wide ad-blocking either in isolation, or in direct comparison to Pihole. But I can’t really find why there is such a strong recommendation. The only clear reason I’ve seen is that AdGuard is easier to set-up.

However, I already have Pihole set-up on all of my networks on separate Raspberry Pis at each location. I have it running as the DNS server so that every device that connects to the network automatically gets ad-blocking. I have a few groups set-up within Pihole for slightly nuanced blocking — i.e. some of my family still want to use Facebook etc. (on a separate subnet).

So my question is, considering I already have Pihole set-up, am I missing some key benefit that AdGuard Home would provide?

33 points

I’ve been using a pihole exclusively for years on my Ubiquiti network at home. Combined with Wireguard, it’s a stable, easy ad-blocking solution. I’ve never even considered moving from it, seeing how well pihole Just Works.

permalink
report
reply
5 points

That’s more-or-less what I thought. And in fact I forgot to add to my post that I also use Pihole on the go via Wireguard, which seems like another hurdle to converting to AdGuard. Thanks.

permalink
report
parent
reply
6 points

Adguard home would also work exactly the same way as pihole for that use case.

permalink
report
parent
reply
3 points

You can use a private Adblocking DNS on all OS at this point.

permalink
report
parent
reply
2 points

Does pihole affects your internet speed?

permalink
report
parent
reply
1 point

It has to go upstream for answered requests, so it can add 1 or 2 ms to the 45 ms it would otherwise take when you’re local. If you’re using a VPN to your home dns, it can add 75 ms and I can feel it.

permalink
report
parent
reply
-12 points

If you bother that much, why not just use the Pi as an OpenWRT router with DNS over HTTPS, and get a great router with awesome QoS and actual software updates in the process?

It’s a vast superset of whatever PiHole does.

permalink
report
parent
reply
25 points

The only edge Adguard Home has over PiHole I can think of is its out-of-box support of encrypted DNS upstream and downstream queries (e.g. DNS-over-HTTPS and DNS-over-TLS).

permalink
report
reply
8 points

This is the reason why I switched over to Adguard Home and stuck to it.

permalink
report
parent
reply
3 points

I guess that’s nice. I installed cloudflared myself and get the same results that way with my pinhole. But it was an extra step.

permalink
report
parent
reply
3 points

It can also run directly on lower powered machines. GL.iNet routers are a good example, they’re based on OpenWrt and come with AdGuard Home support out of the box, so no need for a whole external computer to handle DNS stuff. Sure it’s limited by ram about how many lists you can have, but still. Pihole is much more “substantial”

permalink
report
parent
reply
2 points

I was going to say this and also you can do single device exclusions in AGH.

permalink
report
parent
reply
19 points

I’ve used both, each for a long stretch of time; they are fundamentally extremely similar and you’ll be fine with either. I switched to AdGuard Home entirely because I could run it directly from my OPNSense router instead of a second machine. There isn’t really anything else major I’ve noticed different between them, but my usage is fairly basic. AdGuard’s interface felt a bit more mature and clean, but that’s it.

If you’re happy with your PiHole, there’s no reason I’m aware of to switch.

permalink
report
reply
6 points

This guy is right.

I have used Pi-hole forever at home, but decided to try out AGH on my parents’ network. They do largely the same stuff, so if Pi-hole is working for you, stick with it; I do with my home network, too!

permalink
report
parent
reply
11 points

So, anecdotally, I used pihole first more than 5 years ago and switched to AdGuard as pihole did not have the ability to do conditional forwarding of requests for various zones or the ability to add static records via the UI. Conditional forwarding means that I can send the requests for let’s say example.com to an internal server hosting that zone responding with private records for internal services as well as other similar scenarios.

I also like that I can identify clients or networks in adguard by various factors and apply different rules (blocking and forwarding) and collect statistics on those clients or groups of clients, I don’t think pihole has either feature yet.

I also like that adguard is a static binary which is likely what people mean when they say it’s easier to install and maintain.

As to why I keep it and don’t switch back, I like the interface AdGuard has and it doesn’t break so I often forget about it anymore. I’ll update if I remember anything else but those are the larger things for me. If pihole is working then stick with it but curiosity is a definite reason to try adguard, I bet you could just stop pihole on your machine and run adguard to check it out without too much work (yay static binary) but I haven’t tested that myself.

Hope that helps!

permalink
report
reply
2 points
*

I’m super new to all this but piehole has clients and groups which I assume is for applying custom rules

permalink
report
parent
reply
1 point

That’s awesome, I’ll have to give it another look. Maybe I’ll have to set up one of each and do some performance testing then :D

permalink
report
parent
reply

PiHole has everything you listed except the static dns via web ui. You need to add them to the hosts file.

permalink
report
parent
reply
6 points

If it’s just for local you can add dns hostnames in the gui. I have all my lan boxes defined in pihole with the .lan under the local dbs ootio. Might even work for external too

permalink
report
parent
reply
1 point

That’s awesome, I’ll have to give it a try again! I saw they also recently added an external-dns target for pihole for kubernetes which was the real genesis of needing an internal dns server anyway.

permalink
report
parent
reply

I’ve got enough going on, on my internal lan that I have a bind server hosting internal fwd/ptr zones. I just put config files in /etc/dnsmasq.d/ that direct queries for those domains there.

permalink
report
parent
reply
7 points
Removed by mod
permalink
report
reply
2 points

In the same boat as you here. Tried both and went back to Pi-hole because “why not?”

Adguard does have homeassistant setup which was nice and easy, but I like to compartmentaliz my setup so if homeassistant goes offline my internet does not go out when adguard is down.

Since I started running pfsense on a custom PC with dedicated NIC, unbound has been my go to choice now for DNS and Adblock. I use Pi-hole on specific subnets now.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 3.6K

    Monthly active users

  • 3.3K

    Posts

  • 71K

    Comments