Computers & Electronics

AdGuard Home -- Opensource DNS Adblocker like PiHole

  • Last Updated:
  • Jan 23rd, 2021 3:19 pm
[OP]
Deal Expert
User avatar
Aug 6, 2001
15117 posts
3020 upvotes
Stuck in a Box

AdGuard Home -- Opensource DNS Adblocker like PiHole

AdGuard Home seems to be a secret among the hobbyists that leverage Raspberry PI for adblocking by using software like Pi Hole. So sharing this here and keeping this thread alive to help RFD community with any install questions, etc.

I had been an avid Pi-hole user for years, till I tried AdGuard and I am superbly impressed by the UI, along with advanced features like customized upstreams, encryption out of the box, safe-search for kids, parental blocks etc. It also updates itself via the web menu and is rock solid in stability and performance.

It is from the makers of Adguard, and is an opensource product. It works on Raspberry Pis, Linux, Mac, Windows PCs.

https://github.com/AdguardTeam/AdGuardH ... ng-started

Image

Installation Instructions for Raspberry Pi

Let's download AdGuard Home and unpack it:

Code: Select all

cd $HOME
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz
tar xvf AdGuardHome_linux_arm.tar.gz
It will unpack into a new directory called AdGuardHome.

All you have to do is simply type this command to the Terminal:

Code: Select all

cd AdGuardHome
sudo ./AdGuardHome -s install
Last edited by weedb0y on Dec 27th, 2020 3:32 pm, edited 5 times in total.
23 replies
Deal Addict
User avatar
Apr 29, 2018
1042 posts
637 upvotes
Vancouver
Same. Switched over to AdGuard a few months ago, and liking it so far. Like the fact the UI can do everything and there is no need to mess around in config files to add custom DNS entries to Pi-Hole. Also unlike Pi-Hole which uses several services/apps to get the blocking done, this has everything built-in and so should be faster, with less overheads
Deal Fanatic
User avatar
Jun 8, 2003
8272 posts
670 upvotes
Scarborough
I have it setup on my 2nd Pi-hole box a few months ago, but I haven't played around with it much. Yes, the update via web is much user friendly. Adguard Home is my 3rd DNS for my network clients.
Deal Addict
User avatar
Apr 18, 2009
3600 posts
806 upvotes
Toronto
million-dollar question: is it capable of blocking youtube ads?
Deal Addict
User avatar
Sep 10, 2005
4676 posts
2032 upvotes
GTA
chroma_cg wrote: million-dollar question: is it capable of blocking youtube ads?
Nothing DNS based will do that very well, if at all.

Does AdGuard support using Unbound? Although I don't see why not.
Last edited by Dave98 on Dec 25th, 2020 10:04 pm, edited 1 time in total.
[OP]
Deal Expert
User avatar
Aug 6, 2001
15117 posts
3020 upvotes
Stuck in a Box
chroma_cg wrote: million-dollar question: is it capable of blocking youtube ads?
Nope, the ads are streamed from the same servers as the content.
Deal Fanatic
User avatar
Jun 8, 2003
8272 posts
670 upvotes
Scarborough
chroma_cg wrote: million-dollar question: is it capable of blocking youtube ads?
If you want to block the ads, you use Smart Youtube, Smart Youtube Next or Vanced Youtube in Android. MyTube or Awesome Tube in Windows. I don't think there is any in IOS.
[OP]
Deal Expert
User avatar
Aug 6, 2001
15117 posts
3020 upvotes
Stuck in a Box
MonsieurX wrote: Image
https://www.ricardocuisine.com/en/recip ... am-canapes
Pretty sure the smartadserver.com is blocked and https://creatives.sascdn.com too since they seem linked but I'm still seeing them... any tips?
Check your query log to see if it’s blocked or not. You could also query the domain the blocklist to see if it’s there
Member
Feb 27, 2007
422 posts
245 upvotes
I've used both and gone back to pi-hole. I've found it to be the easier and better supported of the two, especially after the 5.x release.

AdGuard also likes to be a little overblown on its 'features', which I find petty. I'm leaving a link from Reddit from a pi-hole dev with him comments to the AdGuard comparison chart.

https://www.reddit.com/r/pihole/comment ... &context=3
Deal Addict
Nov 30, 2016
1118 posts
1422 upvotes
Mississauga
I just installed this last week. Pretty straightforward. For Windows users, I'd strongly recommend installing it as a service. That way it starts up automatically when the system boots.
Deal Addict
Jun 14, 2009
2210 posts
2401 upvotes
Quebec
weedb0y wrote: Check your query log to see if it’s blocked or not. You could also query the domain the blocklist to see if it’s there
According to my log, the smartadserver is blocked but I still see it. That is under Opera.
With Firefox, I have ublock origin so I guess it was already blocked.

Did the same test on my phone, Firefox I see the ads, Chrome I don't.
Deal Addict
User avatar
Sep 10, 2005
4676 posts
2032 upvotes
GTA
MonsieurX wrote: According to my log, the smartadserver is blocked but I still see it. That is under Opera.
With Firefox, I have ublock origin so I guess it was already blocked.

Did the same test on my phone, Firefox I see the ads, Chrome I don't.
Chrome and some other Chromium based browsers have a built-in async DNS setting so that it can bypass other DNS servers you have set

there may be updated ways to disable that so you might have to do some research. There used to be a flag in chrome://flags that did it but it's no longer there
[OP]
Deal Expert
User avatar
Aug 6, 2001
15117 posts
3020 upvotes
Stuck in a Box
von Monster wrote: I've used both and gone back to pi-hole. I've found it to be the easier and better supported of the two, especially after the 5.x release.

AdGuard also likes to be a little overblown on its 'features', which I find petty. I'm leaving a link from Reddit from a pi-hole dev with him comments to the AdGuard comparison chart.

https://www.reddit.com/r/pihole/comment ... &context=3
I'd imagine they are responding to the community's inquiry on their package vs pi.hole which came first. I don't see anything wrong and the new features are much better than Pi.Hole's, including more efficient way of handling filters, updates and pre-client based DNS filtering, which isn't available on Pihole.

I had felt the same about the support but the package does get updates frequently and developers are active on telegram etc. (Specially if you are on their beta stream).

None the less, more choice is better.
Member
Feb 27, 2007
422 posts
245 upvotes
weedb0y wrote: I'd imagine they are responding to the community's inquiry on their package vs pi.hole which came first. I don't see anything wrong and the new features are much better than Pi.Hole's, including more efficient way of handling filters, updates and pre-client based DNS filtering, which isn't available on Pihole.

I had felt the same about the support but the package does get updates frequently and developers are active on telegram etc. (Specially if you are on their beta stream).

None the less, more choice is better.
Except all of those things are available for pi-hole, so they're not even correct about what features they have that are 'better'. Per-client filtering has been available since the 5.x series was released, pi-hole is technically more efficient with filters (no a dev but I've read developer Dan's input on this), and if sshing into a pi and running 'pihole -up' once every few months when FTL gets updated I would seriously consider using nextdns.io (actually a great service for people who don't want the headache of running their own DNS server).

They might have a point about having secure DNS available off the start, but installing cloudflared or unbound are relatively simple and they guides provided are pretty much cut and paste.

I do agree, more choices are better. I didn't even mind AdGuard when I was testing it I just find configuring pi-hole easier for me and the AdGuard 'we're better than pi-hole, if we move the goalposts far enough' chart really doesn't sit well with me.
[OP]
Deal Expert
User avatar
Aug 6, 2001
15117 posts
3020 upvotes
Stuck in a Box
von Monster wrote: Except all of those things are available for pi-hole, so they're not even correct about what features they have that are 'better'. Per-client filtering has been available since the 5.x series was released, pi-hole is technically more efficient with filters (no a dev but I've read developer Dan's input on this), and if sshing into a pi and running 'pihole -up' once every few months when FTL gets updated I would seriously consider using nextdns.io (actually a great service for people who don't want the headache of running their own DNS server).

They might have a point about having secure DNS available off the start, but installing cloudflared or unbound are relatively simple and they guides provided are pretty much cut and paste.

I do agree, more choices are better. I didn't even mind AdGuard when I was testing it I just find configuring pi-hole easier for me and the AdGuard 'we're better than pi-hole, if we move the goalposts far enough' chart really doesn't sit well with me.
Individual upstream config per client is not available on pihole. One of the killer features for me, given I can easily enable parental, safe search and also enable family shield dns from opendns.

I have both running and my recco still stands for AdGuard for extended features for anyone looking to filter per client, specially with kids. That chart of theirs can be updated and AdGuard could checkmark few other boxes.
Member
Feb 27, 2007
422 posts
245 upvotes
weedb0y wrote:
Individual upstream config per client is not available on pihole. One of the killer features for me, given I can easily enable parental, safe search and also enable family shield dns from opendns.

I have both running and my recco still stands for AdGuard for extended features for anyone looking to filter per client, specially with kids. That chart of theirs can be updated and AdGuard could checkmark few other boxes.
Is this not per-client blocking? Simply assign which lists you want per user?

https://docs.pi-hole.net/database/gravity/example/

EDIT - I'm not trying to be obstinate here either, I'm genuinely curious what Adblock does with individual client configuration that you cannot achieve in pi-hole with the supplied documentation.
Deal Expert
Aug 2, 2004
33579 posts
7256 upvotes
East Gwillimbury
I've been using Ad-Guard Home for a year now. I keep Pi Hole as a secondary DNS

Ad-Guard is a lot lighter on resources compared to Pi-Hole

I run everything on a virtual environment (Proxmox) and it works great.
Deal Expert
User avatar
Apr 16, 2002
21939 posts
25331 upvotes
Toronto
Once configured how is AdGuard on apps like Tubi and Roku channel? Also does it block ads on the Global TV, CTV, City TV apps?
"I felt a great disturbance at KFC as if millions of chickens suddenly cried out in terror and were suddenly silenced." RFD user stephroll
Deal Expert
Aug 2, 2004
33579 posts
7256 upvotes
East Gwillimbury
sprung wrote: Once configured how is AdGuard on apps like Tubi and Roku channel? Also does it block ads on the Global TV, CTV, City TV apps?
I don’t personally use any of those apps, but if they use a separate ad server, it should block the ads

Top