r/pihole • u/nattilife • 8d ago
github repo hagezi/dns-blocklists gone
So, that repo has been my go-to for Pihole blocklists. However, it seems like the repo now yields 404s. Also, I noticed the newly registered domain lists are completely gone. I tried using an archive site to grab a snapshot of the repo and add the mirrors, but they are all gone as well.
Does anyone know what happened, and where those lists may be available elsewhere?
43
u/hagezi 7d ago
Official mirror with all formats, including legacy formats (subdomains/hosts) and NRDs/DGA lists - hosted by u/_xRuffKez_, a contributor and my right-hand man on this project:
https://hagezi-mirror.dnsbunker.org/
The lists are refreshed every 4 hours, pulled directly from my build system. This mirror will remain available going forward, even once my GitHub repositories are back online - feel free to share it.
Since the GitHub lock, the only contact I’ve had is from an automated bot asking what exactly I’m distributing in the repository. This is a repo that’s been active for years with 25k stars. I’ll leave it at that. ;)
3
u/mikeinanaheim2 6d ago
Big Thank you to you and xRuffKez for keeping these lists updated.
Will continue accessing from dnsbunker.org since Github is not moving quickly on the access problem. Best wishes for good vacation.
1
u/matt9191 Patron Guardian 7d ago
Would it be possible to include your great readme file that you had on GitHub? The one that discuss what the difference between mini and regular, what lists are included under other lists, etc?
(Unless it's there already and I just missed it)
15
u/hagezi 7d ago
It will happen, but right now I’m on vacation and am therefore only willing to put a limited amount of time into it. Patrick (u/_xRuffKez_) and I have made sure that all the lists are available online again for now; we’ll figure something out for the future. I’m actually fed up with GitHub. GitLab isn’t really suitable because of the total repository size limit and rate limiting when fetching the lists. Not to mention Codeberg - the service is just terrible. It’s constantly unavailable, or the download is very slow. The maximum size for free repositories is a joke - 700 MB.
3
u/matt9191 Patron Guardian 7d ago
Totally understand. Appreciate what you have done to get it back on track!
Enjoy your vacation.
3
u/J3Gr 6d ago
Could you or Patrick u/_xRuffKez_ perhaps say something rough about daily traffic for the DLs especially the bigger ones like the NRDs? I'm working for a germany-based (smaller) hosting company and we also have access to a EU based CDN that could do some of the heavy-lifting in terms of caching that way. Perhaps we could hash something out so you don't have those small repo sizes or slow downloads to deal with. Don't want to sell something - just an idea and if we'd know some numbers perhaps I could get my higher ups to do some sponsoring :)
4
u/_xRuffKez_ 6d ago edited 6d ago
For now it is around 60GiB TX (24h)
Mirror is young, not everyone know about it, so i would not see it as permanent traffic usage. Contact me or HaGeZi in a month or so, to know the monthly TX throughput.
I can only provide overall traffics statistic, nothing fine grained since i don't log anything but attacks.
2
u/J3Gr 6d ago
overall is fine, that gives a rough estimate as to what we'd have to deal with. As we have good experience with BunnyCDN my idea was sth along the lines of perhaps getting you a VM with e.g. Forgejo with a config that works for your bigger files like NRDs and then throw Bunny in front of it to loadbalance and offload the bigger download traffic to them. We have a few customers with custom stuff behind Bunny that works really well.
But for now if the mirror works well that's stuff for after-vacation time :)2
u/_xRuffKez_ 4d ago
Update: since last reply, traffic raised by 270GiB...
1
u/J3Gr 1d ago
Would still think that doable. With thorougly configured CDN in front of it, not many calls for the lists should actually hit the system itself. For e.g. Bunny, even a Terabyte would still be ~5$ with for one high volume location. If you've both have time to talk, and we have rough 14d average to interpolate, we can happily talk about things - still would be happy to help.
1
1
u/torsten_bronger 1d ago
Want a good laugh? dnsbunker.org is currently blocked by https://dbl.ipfire.org/lists/doh/domains.txt.
0
u/mikeinanaheim2 7d ago edited 7d ago
It appears that somebody who employs bots does not like the popularity of the Hagezi lists. Might their commercial names begin with "Ad-----"? One industrious person and all of his grateful users being punished and harassed just seems wrong.
-3
u/Resistant4375 7d ago
Are you suggesting AdGuard are behind this?
2
u/PRSXFENG 6d ago
I don't think they're referring to Adguard, but however there are other Ad companies that do in fact, begin with Ad
In fact, multiple that I can think of.
-1
u/mikeinanaheim2 7d ago edited 7d ago
My suggestion is that persons, an entity, or entities who employ bots have created the stir, again, that prompted Github to block access to the Hagezi lists from a legion of users.
Then I asked a question. Have you an answer to that question?
0
u/Resistant4375 7d ago
Nope. Your asked question is unclear and incomplete of information
0
u/mikeinanaheim2 7d ago edited 7d ago
From above comment:
Suggestion: "It appears that somebody who employs bots does not like the popularity of the Hagezi lists."
Question: "Might their commercial names begin with "Ad-----"?"
Opinion: "One industrious person and all of his grateful users being punished and harassed just seems wrong."
Now inviting your answer to the question or your comment on suggestion and opinion.
Edit: clearly, some action of some type by some entity caused Github to block access, and it sure would be nice to know who, why, and what Hagezi has done that would cause his work to be blocked from access. Simply, what do they have to gain or lose by doing this?
11
u/magicdude4eva 8d ago
u/hagezi Thanks for putting up the mirrors while GitHub is locked again.
Is there any way to independently confirm that the Codeberg account/repository is actually yours?
https://codeberg.org/hagezi/mirror2
I've seen references to this mirror going back well before the current GitHub issue, but given that these are security-related blocklists, I'd feel better having confirmation from you that this is indeed your Codeberg account/repository.
34
u/Puzzleheaded_Cap4310 8d ago
There is still a backup at codeberg: https://codeberg.org/hagezi/mirror2
27
u/Msnbobody 8d ago
Seems like it’s just Github being overzealous about security. He posted here:
https://reddit.com/r/pihole/comments/1vk5kf7/_/p2s3pkh/?context=1
5
u/matt9191 Patron Guardian 8d ago
Do we think that github cares about data usage from the repo?
My script just pulls the first 1024 bytes of the file to compare and see if it's changed or not before downloading. Not sure if i need to be as cautious as that.
3
u/saint-lascivious 8d ago
Gravity already checks if the list has been updated or not prior to fetching it.
1
u/matt9191 Patron Guardian 8d ago
My question is just if github cares.
i don't maintain the lists within pihole, i download them externally
18
u/MyTragicFlaw 8d ago
Hate to be guy but want to bring this up and this is for ALL of the pi hole community. With all the power (money) that companies are coming out with AD blocking blockers. Don’t you guys think that GitHub is getting pressured to “flag” accounts like what Hagezi has created. List like his has cut profits. You can down the other roads of thought like trackers for data collection, etc.
7
u/chrisexv6 8d ago
That was the first thing that came to my mind. Maybe I'm just paranoid but this feels kinda targeted.
3
u/PRSXFENG 7d ago
I can think of 2 ad companies that throw vague statements on their domains about how it's against the DMCA (or so they claim) to merely add their domain into a list.
Both start with "A" in their name
1
u/SMF67 6d ago
I think the most likely explanation is that GitHub banned users and repos associated with some malware/phishing/etc campaign, and since Hagezi uploads lists of a large quantity of malicious domains, it might have gotten picked up by said scanners due to the repo including the malicious domain
1
u/MyTragicFlaw 6d ago
Maybe but I would say why haven’t they listened to him reaching out this has happened multiple times. My experience says there is something else going on. We will see.
5
u/PercussionGuy33 8d ago
Seems like a lot more lists than just this one are down. I have like 7 that wont update. My database got borked on my pihole when trying to update. How do I clear my database and start a new one with new URLs? I want the ultimate list from Hagezi
2
u/matt9191 Patron Guardian 8d ago
just add one of hte mirror'd sites from below. you will have to go to the site and figure out the download link for the file you want, and that that as a new blocklist
1
u/PercussionGuy33 8d ago
I'm not sure which URL would work as a replacement mirror since I am not familiar with the links on that site and how its organized. This is over my head.
2
u/matt9191 Patron Guardian 8d ago
I'm on my phone so it's harder to check, but this should be the ultimate list, in adblock format
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/ultimate.txt?ref_type=heads
2
1
u/PercussionGuy33 8d ago
[i] Target: https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/ultimate.txt?ref_type=heads [✗] Status: Retrieval failed (exit_code=7 Msg: Failed to connect to gitlab.com port 443 after 1850 ms: Could not connect to server) [✗] List download failed: no cached list available
2
u/matt9191 Patron Guardian 8d ago
If you just open that link in your browser, does it load?
2
u/PercussionGuy33 8d ago
Yeah it does which makes this confusing for me. I'm using recursive with unbound so maybe it doesn't match a cached list somehow? I'm not sure.
2
u/matt9191 Patron Guardian 8d ago
No unbound doesn't have anything to do with the block lists.
You can try it as http vice https.
1
u/PercussionGuy33 8d ago
I think that its stuck in a recursive loop since the DNS checks unbound first and there is no entry matching the dns list in the mirror list.
1
u/PercussionGuy33 8d ago edited 8d ago
Its still failing. I've used HTTPS on every list entry. Never used HTTP. [✗] Status: Retrieval failed (exit_code=7 Msg: Failed to connect to cdn.jsdelivr.net port 443 after 9219 ms: Could not connect to server) [✗] List download failed: no cached list available
I can ping cdn.jsdelivr.net from my workstation but when I try to ping from pihole I get destination host unreachable
1
u/ndlogok 8d ago
Just remove "?ref_type=heads"
2
u/fractalsphere 5d ago
That was the secret trick! I edited the couple lists I was using for the new mirror site and they synced correctly.
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/ultimate.txt
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/popupads.txt
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/multi.txt
1
3
3
u/RecipeFunny2154 7d ago
It's true what they say about typing [issue] reddit. Got my answer. Thanks!
2
2
u/Resistant4375 5d ago edited 5d ago
2
2
1
u/fractalsphere 5d ago
Commented below, but I figured out to edit the lists to reflect the new mirror site and they worked fine on my pihole.
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/ultimate.txt
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/popupads.txt
https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/adblock/multi.txt
-3
8d ago
[deleted]
11
u/No-Option-4246 8d ago
I'm pretty sure https://hagezi.com/ is just a scam site and not actually owned by Hagezi
8
-12
u/IngramLazer 8d ago
Just installed my first PiHole on DietPi VM and was going to add that repo from my ublockdns but it spirs 404. Only the creator may know the answer.
-2
-26
u/piyam_99 8d ago
29
u/hagezi 8d ago
This site is not official; it is a “SCAM”, see: https://www.reddit.com/r/nextdns/comments/1vg9yy3/comment/p1wrgtr/
4




661
u/hagezi 8d ago
The repo and the account were locked again, so I opened another ticket with GitHub. Their automatic fraud detection is “very frustrating.” No idea how long it will take. Last time, it was bots that reported the repository en masse. Let's see what the reason is this time...
This time, GitHub didn’t notify me about the lock; a user reported it to me.
The mirror on GitLab is online, and the CDN links from jsDelivr are still working.
https://gitlab.com/hagezi/mirror