11 ms·
AdGuard Home: Network-wide ads and trackers blocking DNS server
- msavara 4y ago
- amelius 4y agoMeanwhile, people use dozens of Npm and Python etc. packages written and maintained by Russians every day. If they wanted to cripple our systems, it would be very easy to do.
- jbverschoor 4y agoSo stop using nginx too and anything that uses it
- msavara 4y ago
- anaganisk 4y agoIm not sure stifling open-source/innocent coders is the way to achieve freedom from govt and tech domination.
- rubyist5eva 4y agoYou’re right it’s not logical but you aren’t actually doing anything.
- mfashby 4y agoAlso, similar piece of software https://0xerr0r.github.io/blocky/ https://0xerr0r.github.io/blocky/
- breytex 4y agoHow does this compare to pihole? Do I have to migrate to this?
- rjgonza 4y agoThere is details on the page: https://github.com/AdguardTeam/AdGuardHome#comparison-pi-hole https://github.com/AdguardTeam/AdGuardHome#comparison-pi-hol...
- Ocha 4y agoWould love to hear if anyone have used both and how they compare to each other.
- simooooo 4y agoAdguard can do dns over https/tls
- zfa 4y agoPi-hole is a bloated mess compared to this IMO. At the end of the day pi-hole is still just a fork of dnsmasq with a load of scripts and a bootstrap gui whacked on top. You need to add on extra bits and pieces to get anything like modern tech whereas AGH has https gui, multi-user support, DoH/DoT/dnscrypt/etc, toggles for quick blocks, access to a 'realtime' blocklist for emergent threats all baked in. It's also a single self-updating binary with a single config file instead of spraying bits all over your OS. Runs on pretty much anything you can think of, too. pi-hole was great back in the day but unless you're just keeping on keeping on with an existing install there's better options available now.. AdGuard Home, Blocky, Technitium DNS etc. I often compare pi-hole to DD-WRT inasmuch as it was awesome back in the day but times have changed and you probably wouldn't use it as first choice these days given what else is now available to you.
- ryandrake 4y agoYou can be fully protected just using vanilla dnsmasq and downloading fresh blocklists from time to time. It seems all the more ‘marketed’ flavors of adblockers are just web bling on top of dnsmasq. What else do they really offer?
- phlip9 4y agoAdGuardHome is pretty great. Run it on my OpenWRT router and miss it every time I use my phone away from home : )
- BLKNSLVR 4y agoSetup a wireguard VPN at home and connect too it from your phone whenever you're out. If you can do OpenWRT, you can do this.
- pricci 4y agoTailscale is your friend. No need to open ports!
- anaganisk 4y agoOr use nextdns and get this everywhere if you don’t care about self hosting.
- t0bia_s 4y agoBut then you'll have less control over traffic control. With nextDNS you cannot see what app or device is calling for specific domains.
- eyeball 4y agowhy would I use this instead of pihole?
- xen2xen1 4y agoThis is one setting on a regular router IIRC.
- goodoldneon 4y agoI could be wrong but I don’t think pihole supports DNS over TLS out of the box. But AdGuard does
- deleted 4y ago[deleted]
- simooooo 4y agoIt’s better in every respect you could name
- rainsford 4y agoI ran pihole for a long time and then used AdGuardHome for a while before switching to NextDNS. And my experience was that AdGuardHome was an enormously more advanced product. Among other things, the ability to natively support encrypted DNS protocols like DoH, DoT, and dnscrypt both as a client and server was a huge advantage over pihole. AdGuardHome also made split horizon DNS much easier to configure, especially for multiple domains. Basically, my pihole setup eventually did what I wanted after installing a lot of extra software and editing config files by hand. I could do all of those things through the AdGuardHome GUI. I'll admit I briefly switching back to pihole after Russia invaded Ukraine given that AdGuard is a Russian company. Whether or not that was a reasonable choice, the technical step back was obvious and noticeable.
- ameshkov 4y agoAdGuard is not a russian company since long time ago. We moved the HQ in 2014, the core team including the owners are also on Cyprus, and finally half of AdGuard websites are even blocked by russian authorities. Anyways, I guess we’ll never get rid of this badge so ignore my rant:)
- lloydatkinson 4y agoCan this block the entirety of Facebook as well? Not just the tracking part.
- cloudking 4y agoYes, just block their domains in the config.
- zfa 4y agoLiterally has a one-click toggle for blocking Facebook, yeah.
- 2OEH8eoCRo0 4y agoYes. I do. One toggle switch for Facebook.
- cloudking 4y agoI've been using this on Home Assistant, very easy to deploy and configure. Ad and tracker blocking on all mobile browsers is awesome, load times are so fast. https://www.home-assistant.io/integrations/adguard/ https://www.home-assistant.io/integrations/adguard/
- phillipseamore 4y agoIs there anything in this field that actually doesn't block DNS but hijacks it and serves up 1x1 GIF for any image requests, 1 frame videos, empty HTML, CSS, JS, fake VAST/VPAID files so that requests don't have to timeout and fail? I setup a pi-hole a couple of years ago and the kids begged me to shut it off because it screwed up with games on their phones (crashed if they couldn't load ads or got stuck because there was no reply).
- leesalminen 4y agoI think you can configure PiHole to return whatever IP you want for blocklisted domains. I guess you could set up a box with nginx that inspects the request content type header and returns generic content. But, TLS will cause problems here. You’d need to MITM all the traffic and serve up your own root certs, install them on devices etc.
- kobalsky 4y agoyou could just -j REJECT the traffic, that makes the connection fail immediately because it sends an icmp port-unreachable packet back.
- phillipseamore 4y agoYeah TLS will be the headache. Just did a quick test with a self-signed, that works fine but I'll need to create one for each TLD (wildcard doesn't seem to be allowed as root, at least in browsers). That's easy to script, hard to install. So the only issue are devices that I can't install certs on like our Apple TV's and Rokus.
- 3np 4y agoYou should be able to install a single CA (installed on devices) and then use the key for that to sign individual domain (wildcard) certs?
- robostac 4y agohttps://docs.pi-hole.net/ftldns/blockingmode/ https://docs.pi-hole.net/ftldns/blockingmode/ Pihole has many options for different blocks, but all have downsides.
- chrisbolt 4y agoNextDNS is a similar solution: https://nextdns.io/ https://nextdns.io/
- deleted 4y ago[deleted]
- SparkyMcUnicorn 4y agoLove NextDNS and it is my current choice, but it appears that the big difference between the two is that NextDNS does not provide a way to self-host the DNS server.
- alphabettsy 4y agoFor me that’s a benefit. It’s extremely configurable for a hosted solution and since DNS is critical I prefer it now after having a few showstoppers with self-hosted DNS. Nothing major but annoying to have to deal with everything being broken because of maintenance or whatever else.
- artdigital 4y agoI looked into nextdns and compared dns traffic on my adguard. My current usage would overshoot the free tier, and having another subscription but for dns doesn’t sound so fun
- silisili 4y agoI felt the same way when I was testing it...then realized it was only 20 a year which is a fantastic price IMO.
- alphabettsy 4y agoTrue, but the price is very reasonable. Works very well outside of my home. Never need to remember to apply updates and I cant unplug it.
- rainsford 4y ago
- odysseus 4y agoIs there a performance/weight comparison between this and Pi-hole? Is AdGuard lighter weight or more bloated compared to Pi-hole? Curious both about load on the raspberry pi and how long it takes browsers to fetch pages
- selfhoster69 4y agoAdGuard Home is more lightweight, no doubt; it's a single binary executable. Whereas Pihole... where do I start
- neurostimulant 4y agoI just tried the docker version and the startup is really fast. You can also specify multiple upstream dns and have it return answer from whichever server that answer the query the first, etc.
- laweijfmvo 4y agoPerformance aside, i just switched my pihole to AdGuard and immediately noticed that AdGuard wasn't blocking anything. Switching back to pihole showed immediate queries to icloud analytics being blocked. So you should at least figure out a better filter than what AdGuard offers out of the box.
- tmottabr 4y agoi did this.. i have adguard home but use the default pihole lists on top of the default adguard list. pihole was only using steven black list last time i checked. [0] https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/h...
- Queue29 4y agoA minimalist alternative (no UI, yarn deps etc.) https://github.com/shoenig/donutdns https://github.com/shoenig/donutdns
- paulcarroty 4y agoAnother Open Source alternative: https://libredns.gr https://libredns.gr
- kkielhofner 4y agoIf you run OpenWRT on your router (or can) there’s also a comprehensive adblock package that “just works”: https://openwrt.org/docs/guide-user/services/ad-blocking https://openwrt.org/docs/guide-user/services/ad-blocking
- brnt 4y agoWhat's a reason to chose the Adguard plugin over Adblock? I've the latter configured atm.
- bertil 4y agoAdguard works at the computer level, so all browsers are protected.
- brnt 4y agoThey are both Openwrt plugins, as per gp's link...
- kkielhofner 4y agoI started using the adblock package years ago and it just does the job. I’ve never bothered to try adguard.
- 3np 4y agoAdguard plugin..? As for simple-adblock vs adblock, I prefer the former because malformed lists won't break DNS, which it does for adblock.
- brnt 4y ago> Adguard plugin..? See option 3 in gp's link: apparently theres an Adguard package for openwrt.
- wespiser_2018 4y agoJust be careful with rebind protection: https://forum.openwrt.org/t/possible-dns-rebind-attack-detected-someone-is-trying-to-attack-us/125406 https://forum.openwrt.org/t/possible-dns-rebind-attack-detec... My work application has domains that resolve to localhost for our dev setup, and it took me several days to figure out what the issue was. Basically, OpenWRT by default filters out any DNS records that resolve to "local networks" like 192.168.0.0/16 or 10.0.0.0/24. The benefit of this approach is that our services only run with TLS, but you will need whitelist some addresses!
- gigel82 4y agoI moved my network from PiHole to AdGuardHome after running them in parallel for a bit. Resource-wise they're about the same, but I found AdGuardHome to reply faster (with the same upstream servers). Haven't really explored features beyond the core DNS blocking and DNS rewrites for local services.
- cryptodan 4y agoI use adgaurd on my phone it works well. I may give this a try on my network.
- rubyist5eva 4y agoMy rpi4 runs this in a container and it works great
- yegle 4y agoYou can also run Adguard Home as a DNS-over-HTTPS server and use it on both iOS and Android.
- LeoPanthera 4y agoI run this on my OPNsense router and I'm extremely happy with it.
- layer8 4y agoSide question: One thing that keeps me from setting up stuff like that is that it’s unclear to me what is involved in keeping it up to date. With Debian packages, I can easily have everything auto-update (e.g. using cron-apt). But for projects like this, it seems one would have to set up some idiosyncratic procedure?
- hnbear 4y agoNot sure about this project, but Pi Hole (which is very similar and likely covered under your "stuff like this") has updating built in. Updating pihole is as simple as: pihole -up Easy enough to cron up. So, idiosyncratic in that it's not "apt update", but also pretty nice that it's all self-contained. A lot of projects are also now available as docker containers, so you can just pull down the latest container version, currently my preference for home hosted things.
- layer8 4y ago> you can just pull down the latest container version Of course, but how do you automate this? Using Watchtower? Setup instructions never address this aspect. I get the impression that there’s no standard way to auto-update, and most people only update manually?
- alrlroipsp 4y agoUnless you want a randomly broken LAN, you should probably pay attention by manually updating things.
- neurostimulant 4y agoLike other mentioned, it's probably best not to autoupdate these kind of apps. For example, I run a pihole in an old raspberry pi 2b and the latest docker image update broke it and I had to revert. Imagine if you're in the middle of something important and suddenly your network is broken and you had to drop everything to fix it. Just do regular once a month docker pull and container restart instead.
- ancorevard 4y ago
- smcleod 4y agoAdGuard is owned and operated by Russians. The company was founded in Russia, but moved its headquarters to Cyprus in 2014. Is it owned by the Russian government? I have no idea. Can you write off any software that had a Russian developer? No! Of course not! ... would I run AdGuard? No.
- CommanderData 4y agoHow best to enforce usage of this and stop apps/phones from bypassing and using DoH? Edit: I found this post on pi hole forums explaining the situation with DoH / DoT. I think this will become a much popular topic to discuss on HN soon as both technologies are increasily popular. https://discourse.pi-hole.net/t/blocking-dns-over-https-doh/21359/18 https://discourse.pi-hole.net/t/blocking-dns-over-https-doh/...
- no_time 4y agoI expect most apps and OSes to add fallbacks to regular DNS once dictatorships start null routing DoH resolvers. Our unlikely allies in making sure in-app adblocking stays possible...
- sawyna 4y agoI'm curious to know if it's possible to block those domains which collect my "data". As in, these days it is becoming more and more common i speak something and I see ads a couple of hours. I turned off all microphones but apparently that doesn't help. It'd be good to block these data collection requests.
- windex 4y agoSome services/devices/sites seem to have hardcoded IP addresses to circumvent these adlists/blockers.
- flixing 4y agoControlD.com is NeXTdns or AdGuard plus geo unblocking. Highly recommended
- neurostimulant 4y ago> Essentially, any advertising that shares a domain with content cannot be blocked by a DNS-level blocker. Does this mean AdGuard Home can't block CNAME cloaking? I think pihole supports deep cname inspection.
- selfhoster69 4y agoIt can, as a matter of fact. Source: have AdGuard Home running in my network for many years.
- neurostimulant 4y agoGood to know. I'll test it out. Edit: it even has home assistant integration like pihole. I'm going to test it for a few days and see how it performs. So far I have positive impression.
- tokamak-teapot 4y agoI was going to ask if there was a way to easily turn it off from my phone, then I found this linked to from the github page: https://apps.apple.com/app/apple-store/id1543143740?platform=iphone https://apps.apple.com/app/apple-store/id1543143740?platform... This looks great. Currently I'm using Hyperweb, which is working great, but one thing I'm missing is an easy way to disable blockers for a particular site - and for it to remember that. As far as I can tell, all I can do is use Safari's 'Turn off Content Blockers' - but this doesn't seem to remember where I did it, and only seems to work temporarily / not for a whole domain, so I end up fighting with it.
- neurostimulant 4y agoIt also has home assistant integration, which let you add a toggle in your home assistant page to quickly disable it.
- 404mm 4y agoHow do you deal with DNS based ad blockers in a multi-user environment (eg. home network)? One issue I always seem to hit- adblocker breaks some site and user has to go to a webUI to unblock it, which is a bit to ask from some family members.
- neurostimulant 4y agoIf you have home automation system like home assistant or apple homekit, you can add pihole and adguard home to them. Both pihole and adguard home has home assistant integration, which let you add a toggle in your home assistant page to quickly disable it. There is also a 3rd party homekit integration, so you can ask siri to temporarily disable it. If you use android, home assistant has google assistant integration so you can use voice command on your android phone to control it.
- 404mm 4y agoThat may be the missing piece. I’ll look into it. The thanks!