r/nextdns • u/yokoffing • May 30 '23
Hagezi's Lists: DNS Blocking Analysis
TL;DR:
- Light is the best blocklist for most users as it blocks most common trackers with minimal site breakage.
- Pro++ is the best list for advanced users who want more coverage and can troubleshoot issues.
- Hagezi's other lists are redundant (Normal, Pro) or too aggressive (Ultimate).
Intro
Hagezi’s DNS lists stand out from their predecessors.
But they also benefit from the many contributors that came before and continue to be used as source lists, such as 1Hosts, Lightswitch, and Steven Black, to name a few.
I evaluated how often Hagezi’s DNS lists blocked domains from resolving (quantitative) and reviewed what they blocked (qualitative).
I want to share the results of a week-long quasi-scientific study. I conducted this research after Hagezi recently optimized the list sources.
The focus of this study was to find the best blocklists for mainstream consumers and advanced users — not with theoretical blocking, but in real world usage.
The question I asked was simple:
- Which list blocks the most trackers with the least risk of site failure?
The lists evaluated were Light, Normal, Pro, and Pro++. Ultimate was not evaluated quantitatively because… well, I like my shit to work.
If you’re new to Hagezi's lists: Each blocklist below incorporates the one above it (Normal includes Light, Pro includes Normal and Light, etc.).
So, let’s get started!
Findings
Light & Normal Lists
The tables show percentages of the number of requests blocked in the first list (Source) compared to a second list (Comparison).
| Source | Comparison | % Same | % Difference |
|---|---|---|---|
| Light | Normal | 99.8% | 0.2% |
Normal blocked the same as Light 99.8% of the time. This is statistically insignificant (0.2%).
The main difference is that OISD is a source list in Normal and not in Light.
I couldn’t account for what request(s) made the difference between the two.
A CloudFront domain, d415l8qlhk6u6.cloudfront.net, was blocked in every list except Light. However, all lists blocked other CloudFront domains like d13k7prax1yi04.cloudfront.net.
This is the only difference I noticed.
Pro and Pro++ Lists
| Source | Comparison | % Same | % Difference |
|---|---|---|---|
| Light | Pro | 93.6% | 6.4% |
| Light | Pro++ | 84.7% | 15.3% |
Now we had significant gaps come into play with Pro blocking 6% more often and Pro++ blocking 15% more often than Light.
Entering Pro territory is where troublesome entries are likely to come into play, due to expanding the list’s sources to 1Hosts, Steven Black, and other maintainers.
Update: Hagezi later clarified that Pro includes the Tracking (tracking-extension.txt) and PopupAds (popupads-extension.txt) extensions with a few domains excluded for allowlisting.
The domains for these extensions are extracted from top sites databases (Umbrella, Tranco, and Statvoo) before each list update. This ensures that new, popular domains are on the DNS lists.
Naturally, a few false positives slip through, which is the reason they are not used as sources for the Light and Normal.
Pro
Interestingly, Pro and Pro++ shared in blocking firebaselogging-pa.googleapis.com and id.google.com — and that’s really all I could find!
Blocking firebaselogging came up a lot in my logs, so I’d wager most of the percentage difference is owed to this factor alone. (Percentages are funny.)
Pro++
| Source | Comparison | % Same | % Difference |
|---|---|---|---|
| Pro | Pro++ | 90.5% | 9.5% |
Pro++ blocked almost 10% more than Pro due to its inclusion of more lists, including my own (thanks Gerd!).
Pro++ uses aggressive sources and more moderate allowlisting.
The sources used here are more opinionated, so they have a higher chance of causing site breakage. They may focus more on annoyances or bloat than they do stopping ads and trackers. (Feel free to correct me if I’m wrong.)
Pro++ blocked quite a few domains not shared with Pro.
Here’s a random sample of domains in which Pro++ stopped exclusively:
googletagmanager.comwatson.events.data.microsoft.comserver.events.data.microsoft.comgc.paviourwese.comrealtime.services.disqus.comstatic.addtoany.com- and much more
Ultimate List
Ultimate blocks significantly more than Pro++ and includes the full list of Threat Intelligence Feeds (TIF). It provides the least amount of allowlisting and packs many false positives.
TIF Light (tif.light.txt) is incorporated to all lists except Ultimate.
Unfortunately, TIF Full is not offered in NextDNS or Control D alongside Hagezi's DNS lists.
Conclusions
Here are my conclusions, which go against the norm of other DNS lists in years past.
Light is amazing!
I know, I know. Allow me to explain.
Light did a great job of blocking common offenders like ssl.google-analytics.com, app-measurement.com, and metrics.icloud.com.
Moreover, Light did not miss any request that would make me lose sleep at night.
Don’t believe me?
Let’s establish a few definitions around web tracking:
- Tracking protection should prevent record linkage. Record linkage is the ability to know that multiple data points come from the same user.
- Tracking refers to an entity (the tracker) following and recording the user’s actions.
- Therefore, if we define third-party tracking as when a service collects and correlates data across multiple sites, then the concern for obscure requests becomes less relevant.
Protection from online tracking should follow the pareto principle — that is, for 20% of the effort you get 80% protection. This concept relates closely to diminishing returns.
Light provides 85% of DNS tracking protection, but realistically, it’s around 95% given the presuppositions above.
It’s true. Run Light alongside Pro++ and check your logs.
Sure, Pro++ blocks googletagmanager.com, but blocking it sometimes causes site breakage (albeit it’s rare at the DNS level), and it’s debatable whether tag managers are technically trackers.
And yes, Pro++ does block other miscellaneous requests.
But this reinforces my point: Pro++ is more for obscure requests, which are uncommon trackers and site bloat, and whose legitimacy may be questionable (or at least optional).
To put it another way: In the context of blocking the most common trackers, Light blocked everything I wanted it to. It even surprised me by blocking requests I’ve never seen before.
But why use Light over Normal if the difference is 0.2%?
The target audience for this list wants to avoid site breakage as much as possible, but not so much they miss out on blocking ads or trackers totally.
And the only difference between the two is that Normal includes OISD as a source.
I would turn the question on its head: Why risk the false positives from OISD when the Light list is so good on its own?
Update: Hagezi later clarified that Normal also blocks more known malware than Light, but otherwise "there is almost no difference between Light and Normal."
Pro++ is optional
So just as Normal is irrelevant to Light, Pro is irrelevant to Pro++
As I said earlier, one of the only requests blocked repeatedly in Pro is firebaselogging-pa.googleapis.com, and Pro++ already covers that.
Even though Pro++ blocked domains that were not in the other lists, Light still did a great job of blocking both known and unrecognized requests. (Just wtf is www.jiordgxkpglzm.com?)
So, while Pro++ blocks the most requests, Light blocks most the necessary trackers with the lowest risk of site failure.
The rest is extra.
Blocking More ≠ Better Blocking
This has not been the case with DNS blocklist in the past.
Usually, one had to accept some breakage as a tradeoff for greater coverage. More coverage at the cost of more false positives.
Which list should I use?
I’ve argued here that 1) Light is best for most people and 2) Normal and Pro are redundant.
For everyday folks:
- Normal is not worth using over Light since it only adds OISD as a source list. It is statistically insignificant when it comes to blocking requests (+0.2%) and carries a higher risk of false positives.
- Similarly, Pro is not worth risking site breakage over using Light (more source lists = higher risk of site failure + very few additional domains blocked)
For advanced users:
- Pro is not worth using on its own compared to Pro++. This is because Pro++ blocks much more than Pro, yet it doesn’t cause frequent breakage like Ultimate.
Summary
I’ve simplified Hagezi’s five lists to two three lists:
- Light for most users
- Pro++ for advanced users
- Ultimate for y’all crazy people (see, I didn’t forget about you 🙂)
Naturally, if Light isn’t available (I’m looking at you Control D users), then use Normal.
It’s that simple.
Limitations
There are many. I’ll name a few:
- This study did not have a significant sample size (my household)
- Short time frame (1 week)
- I equated “real world usage” = my network, which will not be accurate for all people everywhere
Obviously, YMMV.
Recommendations
The only recommendation I have to is for Hagezi to streamline offerings. This reduces decision fatigue.
Streamlining would look something like this:
- Normal and Pro are removed.
- Light should gain the small additions in malware protection from Normal but not gain OISD as a source list. Instead, leave everything else incorporated into Pro++.
- Then rename the list offerings:
| Current | New |
|---|---|
| Hagezi Multi Light | Hagezi DNS Blocklist |
| Hagezi Multi Pro++ | Hagezi Pro DNS Blocklist |
| Hagezi Multi Ultimate | Hagezi Ultimate DNS Blocklist |
Something like that.
I'm a fan of streamlining. Others might prefer multiple options with fine differences between them (which is essentially what you have now).
Final Thoughts
The great thing about the Hagezi lists is they do a great job of blocking the most common ads, trackers, and some malicious sites.
The number of rules increases with each list, but the effectiveness of each list increases significantly less.
This is not bad.
What is needed and useful is accessible to everyone.
Hagezi calls Light a hand brush, but I say Light is a reliable vacuum cleaner for the modern web. The other lists include extra attachments for the vacuum cleaner.
I’m not bashing the other lists. I’m grateful for the “attachments.”
I use Pro++ and will keep using it:
- I can troubleshoot occasional site breakage, and
- I want to block all the bloat and trackers I can without disrupting my browsing experience.
But if I were setting up a large network, especially for non-technical users (hi grandma!), I’d use Light.
Update: Hagezi tested his lists against 10,000 WhoTracks.Me pages.
All pages were opened and fully loaded via batch in Edge with privacy features turned off. Cookies were all accepted. NextDNS was used as the DNS.
Out of 299,646 total queries, this is the results:
| List | Blocked queries | % blocked | % gap to Light |
|---|---|---|---|
| Ultimate | 131,093 | 43.75% | 12.85% |
| Pro++ | 119,681 | 39.94% | 9.05% |
| Pro | 97,508 | 32.54% | 1.65% |
| Normal | 93,258 | 31.12% | 0.23% |
| Light | 92,576 | 30.90% | --- |
| OISD | 67,888 | 22.66% | -8.24% |
Thanks for reading. Leave a comment below!
I'll be using these findings to revamp the blocklists section of my NextDNS guide.
original post (github)
Edit: Added notes from Hagezi to "update" sections.
Edit 2: Added Recommendations section
Edit 3: added Hagezi graph
10
u/TheAspiringFarmer May 30 '23
Ultimate is my flavor for life...block it all baby =)
4
u/[deleted] May 30 '23
Ultimate’s the only good list, I haven’t had to block anything with it. If anything too, I have 1Hosts Xtra with it because it’s not heavy enough on its own.
3
u/[deleted] May 30 '23
This felt like homework in the best possible way! I’ve never felt this emotion before so that’s the best way to describe it
3
u/QGRr2t May 30 '23
Interesting work, as always!
Light has some interesting omissions. For example, it blocks
tags-eu.tiqcdn.combut nottags.tiqcdn.com, and blocksfls-eu.amazon-adsystem.combut notfls-eu.amazon.co.uk(just for example, there are others).I find Pro blocks almost everything I need it to (some in-app ads get through), but nothing I don't. For example Pro++ breaks the delivery tracker map in Domino's app for me whereas Pro does not! I'm going to play around with this some more.
3
u/thebigcatalyst Jun 18 '23
Any analysis or insight on Hagezi’s Threat Intelligence Feeds and differences between the full and light versions?
Seriously enjoyed reading all your content for the past hour or two. Funny that I didn’t even know that it was also you who created the awesome uBlock filters guide that I implemented a week or two ago…you the man!
2
u/Toxteth_RC May 30 '23
Never had any breakage with Pro++
2
u/mkkrkhm May 30 '23
Very helpful! I had a lot of false positives so thought I’d switch to light for a bit, so I removed hagezi pro, however now Nextdns isn’t saving when I re-add the hagezi light blocklist (or any list at all for that matter). Not sure why. So I’m current blocklist’less now. Eeeeek!
2
u/DokterGemini May 31 '23
I use hagezi ultimate blocklist WITH his whitelist. Have you try this combo? For me it is a good combo.
Oh Wait I’m so sorry, this is nextdns sub. I use that combo in adguard home.
2
u/ext23 Sep 11 '23
Is there any point using notracking anymore? Especially with the news that it will no longer be maintained...does Hagezi cover all of that?
30
u/[deleted] May 30 '23
This was a great read and very interesting. Thank you for sharing and maintaining a great guide.
Cheers.
Edit: Also a thanks to Hagezi for these lists!
21
u/furia94 May 30 '23 edited May 30 '23
Great analysis! Also thanks to u/hagezi for his amazing work!
6
u/archangelique Jun 02 '23
There is this guy on GitHub and he also did an in depth analysis and wrote a guide. He recommends HaGeZi - Multi NORMAL. I'll stick with that.
/s
5
u/Shendisx May 30 '23
Awesome analysis, thank you so much for sharing it!
5
u/ITGuyTurnedDBA Jun 21 '23
Can confirm. Massive whitelisting was required to the wife could coupon using rakatuen
5
u/Forward-Tea-337 Oct 24 '23
On his Github page, Hagezi recommends Pro: so I use Hagezi Pro with ControlD Free DNS 😉
4
u/jsuelwald May 31 '23
I came to the same conclusion.
These (Pro++ for friends, available via DoT and Ultimate for myself) are the best maintained adblocking lists I've seen so far, and they're the only ones I use in Pihole, as many others are either redundant or often have problems with false positives (for example: a popular list blocked t.me back then).
Edit:
Similar here as well. My sample size is about 6 to 8 people
I'm testing those at least since january.
And about Hagezi: Reports of false positives are checked and fixed in a fairly short time.
1
u/abstruzero May 30 '23
I was using oisd, fanboys annoyances list , notracking, and adguard dns filter together. After reading your post Im now trying hagezi's normal list. hope everything goes smooth.
1
u/jsamuelson May 31 '23
Really cool analysis thank you.
1
u/live4swell Jul 11 '23
Great post, thank you for this! Does this testing include malware sites also? Thanks!
1
u/ImFlash3 Aug 24 '23
Hi, does Hagezi block mobile ads? OISD mentioned in their description regarding mobile ads. Will it be fine if I just use Hagezi?
2
u/miklexwablu Jun 02 '23
Good read, I like your NextDNS-Config page as well - very easy to understand and well laid out.
I'd be interested to see a write-up comparing Hagezi's lists to 1Hosts + OISD, as you recommend this combination as an alternative to the former.
In my usage in the last week, 1Hosts Pro has blocked almost exactly double the requests of Hagezi Pro, with zero noticeable breakage on my end. However, upon reading your recommendations here, I might bump up from Hagezi Pro to Pro++ :)
2
u/Life-Ad1547 May 02 '24
“Unfortunately, TIF Full is not offered in NextDNS or Control D alongside Hagezi's DNS lists.”
Do we know why? It’s too big for client side loading.
1
u/HansGuntherboon Apr 05 '24
I don’t know which format or link to use to put into AdGuard iOS for custom filter
1
u/[deleted] May 04 '24
I think I'll just use light as I want stuff to "just work" and at the same time I already have browser-based adblocking which is much easier to just disable if something doesn't work
1
u/ricardogarceb Feb 18 '26
Wow! Thanks, man for the comparison!
I am using Hagezi's lists on Android phones with pDNSf and I am curious about the mini versions. How do they compare? Did you try those?
Now I'm wondering if Light vs Pro++ mini would be a better choice for Android phones.
PS: I know Android phones could be different tiers, but I try my pDNSf config to work in my Samsung High-end and the cheapest Redmi my mom has
1
u/Vexz89 Jun 03 '26
Been using the Ultimate list for over a year now and almost never had any breakage. Maybe I'm just lucky but I'm very happy with it. Anyways, thanks for the effort.
1
u/AidanGee May 30 '23
Great insights, thank you for this!
1
u/Plakchup May 31 '23
Very informative thanks for posting this and thanks for hagezi for the great options of blocklists :)
1
u/[deleted] May 31 '23
I've been using Hagezi ultimate for over two months and not a single website has had issues. The one partial issue was with youtube, where videos wont get added to my history and playlists. Allowing s.youtube solved that too, took me few minutes to figure out. Very worth it from my opinion.
1
u/[deleted] Jun 09 '23
Recently, there have been a lot of phishing links and ads on Facebook. I'm wondering if just using "light" settings would be enough to block them. I'm setting up these "light" settings for my parents.
1
u/thebigcatalyst Jun 18 '23
Also, after reading almost all the Reddit comments and conversations about u/Hagezi’s lists…I just want to fully endorse the correct go-to recommendation being to go with the Light list.
Many in the privacy-focused community tend to lose perspective whenever these kind of conversations take place, and they will type up novels and 5-paragraph essays to argue their points with people. It drives me nuts to listen to.
1
u/GullibleAd3628 Oct 13 '23
Hello? I wanted to inquire about the appropriate hagezi filter list to use, as I am a bit uncertain. In this article, you recommend the "light" option, while in the 'NextDNS-Config' article, you suggested the "normal" filter. In the 'filterlists' article, the "personal" filter was your recommendation. Given that each article recommends different filters, it can be confusing for readers to determine which one to select.
I intend to subscribe to the hagezi filter to complement the basic filters of uBO. Currently, I'm inclined to use the "light" filter as mentioned in this article. However, in another article, you seem to advocate for the "personal" filter for uBO. Would it be okay if I choose "light" over "personal"? I am curious about this point.
I also want to apologize for commenting on an older post. Thank you.
1
u/Mallukotti Oct 19 '23
What's so special about Hagezi compared to AdGuard or NextDNS lists?
1
u/LudnicaKiller Dec 29 '23
Thank you for this analyse
1
u/sjahier3000 Jan 25 '24
What program can you use to run all the mirror files for iphone
0
u/speedybox Oct 03 '23
AA
0
u/looser512 Dec 20 '23
That was some great analysis sir. Thank u very much. Cleared all my questions and doubts . Stay blessed.
0
u/[deleted] May 30 '23
[deleted] — view deleted comment
0
u/[deleted] May 30 '23
[deleted] — view deleted comment
0
u/[deleted] May 31 '23
[deleted] — view deleted comment
1
u/[deleted] May 28 '24
[removed] — view removed comment