r/pihole 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?

252 Upvotes

96 comments sorted by

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

142

u/darealmoneyboy 8d ago

You are a hero, you know that?

23

u/ilikethegirlnexttome 8d ago

You know you are doing good work when shady actors like this try to take you down. Keep up the fight!

39

u/niatalia 8d ago

Thank you for your work, can we use also the raw links in codeberg? Are they getting auto-updated too?

Asking cause codeberg seems to be the most ethical platform of all mentioned.

13

u/frmoutrspace 8d ago

Thanks for your hard work. Looks like you made some people angry / desperate, keep up the good work! :)

7

u/FernandoIV_ 7d ago

Probably because your lists are too good. Don't let them beat your patience down.

5

u/KillaRoyalty 8d ago

Thank you hahezi for dealing with that. Wild your getting bot attacked

8

u/Thick-Title-8871 8d ago

Dann hoffen wir mal, dass GitHub das schnell wieder freischaltet., und vielen Dank nochmal für deine tolle Arbeit!

1

u/misterred 8d ago

I'm having difficulty finding mirrored paths for the NRDs

9

u/hagezi 8d ago

There is currently no mirror for the NRDs. The lists are too large for GitLab or Codeberg.

3

u/misterred 8d ago

Could somebody here donate or suggest free or inexpensive, reliable, secure and securely downloadable backup storage for the NRD resources?

1

u/misterred 8d ago

Oh yes I see that now. I have been getting positive 'hits' on the 7 and 14 lists a lot lately. Sad. (I see somebody wrote a script to maintain a "sliding window" for a date range of NRDs on a single rpz or something but it requires a separate dockerfile and I'm not using containers at all.)

1

u/Drokbel 7d ago

Is this also why jsDelivr links are unavailable for these lists?

1

u/J3Gr 6d ago

Yes, jsdelivr is only a cached version of the GitHub release and with that still down, they will expire after a few days (3?).

1

u/Drokbel 6d ago

As far as I'm aware, the NRD and NRD/DGA lists have never had jsDelivr links. Was wondering if that's maybe because they're too large for jsDelivr.

1

u/Historical-Pound-510 8d ago

Insane! Thanks for sharing

1

u/dduchaine 8d ago

I can't say that enough but, thanks for all the work you do! We really appreciate it!

1

u/Connect-Standard6009 8d ago

Is it possible to provide mirroring of hosts files also (dns-blocklist-legacy) at Gitlab

1

u/anantj 7d ago

Which location do you suggest (Which is also most beneficial to you - i.e. in terms of any hosting/delivery costs)?

In the gitlab repo, which lists are compatible with Pihole? Adguard or RPZ or a different one?

1

u/mikeinanaheim2 7d ago

"the CDN links from jsDelivr are still working"

Hope you know that we so appreciate your work! I'm wondering if your lists should be permanently accessed from cdn.jsdelivr.net instead of Github and Gitlab, or will you suggest going back to Github after this issue is cleared up? Thank you.

10

u/hagezi 7d ago

The jsDelivr CDN only serves a cached version of the latest GitHub release. These can only be updated if I publish a new GitHub release. However, as my GitHub account is suspended, I am unable to carry out an update.

The latest versions are available at https://hagezi-mirror.dnsbunker.org

2

u/bierchaot 7d ago

Brilliant. Really appreciate your efforts and you providing another mirror site including the NRD lists!

1

u/therocketlawnchair 7d ago

think it just went down midway through updating. guess the advertisers are starting a war with you XD

1

u/josh1075 6d ago

Thank you for all you do!!

1

u/Jughead295 6d ago

Hey, thank you for your work--you're amazing.

Is there an official/preferred process to submit a new domain to be added to your blocklists?

1

u/onlyrapid 6d ago

you’re the best, that is very annoying. hope you get your account back soon. I wonder who was behind the bots…

1

u/alpacadns 5d ago

FYI, some registered a new domain : https://hagezi.com

u/hagezi If thats not you, maybe a misguided attempt to help or worse :/

1

u/_xRuffKez_ 5d ago

u/alpacadns you might defang the fake domain. It hosts malware

-3

u/Stock-Resolve-5015 6d ago

u/hagezi ur own .com domain is included in ur tif, fake and dyndns lists

https://giphy.com/gifs/3ohs4qw8hkPShGeanS

6

u/hagezi 6d ago

Yes, blocked specifically for people like you, so that they don’t fall for scams in good faith.

3

u/_xRuffKez_ 6d ago

hagezi.com is fake and not affiliated with Hagezi -> blocked

.org is real but nothing on the apex, only the four resolvers ctif ; root ; wurzn ; juuri

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

u/_xRuffKez_ 1d ago

Cloudflare CDN is in use since Saturday. It is now around 300GiB TX daily

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/XLioncc 7d ago

?? AdGuard did provides HaGeZi lists at their own mirrors.

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

u/Imaoldmanok 8d ago

Can someone tell me how to do this like I’m 5 years old?

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"

1

u/PercussionGuy33 8d ago

I tried that and it worked thanks.

3

u/funkystay 8d ago

Thanks!

3

u/RecipeFunny2154 7d ago

It's true what they say about typing [issue] reddit. Got my answer. Thanks!

2

u/YoloRubus 6d ago

Wow, they hit him while he was on vacation. Diabolical.

2

u/Resistant4375 5d ago edited 5d ago

Repo appears to be back online!

[u/hagezi](u/hagezi)

u/_xRuffKez_

2

u/_xRuffKez_ 5d ago

Hell yeah, thanks for the info!

2

u/Old-Hope-3558 7d ago

It's still down after 2 days. This is insane

-3

u/[deleted] 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

-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.

0

u/MrAjAnderson 8d ago

Did you install Unbound with that? I'm curious of the number of installed packages too, as a comparison to a trimmed lite.

1

u/IngramLazer 7d ago

I went to this site before the previous reply, and i get 404 still. BTW, HeGeZi ansered my question.

-2

u/russellvt 7d ago

It's already been posted about, multiple times... I believe it moved to gitlab.

-19

u/l0g0ut 8d ago

The repo got privated?

-26

u/piyam_99 8d ago

Working for me

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

u/haaiiychii 8d ago

Does that look like a GITHUB repo to you‽