nextdns / blocklists

76 stars 28 forks source link

HaGeZi: Change the source URL to GitLab - Counteracting the GitHub RAW Cache Issue #100

Closed hagezi closed 1 year ago

hagezi commented 1 year ago

Hi @romaincointepas,

since a few days there is a problem with the GitHub RAW Cache at different repositories and apparently only in certain regions. Probably depending on which server you land on when raw.githubusercontent.com is resolved via DNS, you don't get the current list version but an outdated state from the previous day. The RAW cache doesn't seem to be up to date everywhere. My repository and lists are affected by this which is why they are not up to date in NextDNS.

See also: https://github.com/orgs/community/discussions/46691

Using NextDNS as DNS I could reproduce the problem, calling a RAW version of one of my lists returns an outdated version. If I use another DNS like Google, I get the current RAW version. Pretty crazy.

So I created a GitLab mirror and adjusted the source URLs of my lists, please merge.

Thanks and have a nice rest of the weekend, Gerd

hagezi commented 1 year ago

I want to make some adjustments on GitLab first, there seems to be a RAW retrieval limit there as well. Then create a new pull request ...