hagezi's wildcard lists don't block subdomains in Pi-hole
my Pi-hole’s hagezi lists had been coming from jsDelivr. they started returning 403. the body says why:
$ curl -s https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/domains/pro.txt
Package size exceeded the configured limit of 150 MB. Try https://github.com/hagezi/dns-blocklists/tree/<version>/domains/pro.txt instead.
the repo outgrew jsDelivr’s 150 MB package limit. the suggested URL is a GitHub page, not a raw file, and the domains/ folder is gone upstream anyway (404 on raw.githubusercontent.com). two abuse.ch hostfiles on the same list were returning 410 Gone, so those went too.
first fix: the wildcard files
moved all six to raw GitHub, wildcard/*-onlydomains.txt. gravity came back at 2.9M entries.
the wildcard files are just bare domains:
adminpanel.000a.biz
telemetry.001-studio.com
Pi-hole reads those as exact matches. on mine, coventshop.xyz was blocked and zzqtest.coventshop.xyz still resolved. hagezi’s README says as much: its format table puts Pi-hole under Adblock, and wildcard domains under DNSCloak, DNSCrypt, TechnitiumDNS and others.
second fix: adblock format
the adblock/ files have the same domains in ABP syntax:
||adminpanel.000a.biz^
||telemetry.001-studio.com^
||…^ covers the domain and everything under it. with adblock/, both names return 0.0.0.0. same 2.9M entries, which is the annoying part: the count can’t tell you which format you’ve got.
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/pro.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/tif.txt
the README’s own download links still point at jsDelivr, so copying them gets you the 403.
one more, if raw GitHub is slow where you are
Pi-hole’s own weekly gravity update ran from /etc/cron.d/pihole, direct. from my network raw.githubusercontent.com timed out, so the new lists never refreshed. it runs from a systemd timer through WARP now.
if you’re on hagezi with Pi-hole: adblock/ URLs, and check that gravity can actually reach them.
see also: self-hosting a home server