中文说明 | English
This repository automatically converts various popular DNS Blocklists (AdGuard Home format) into Sing-box Rule Set (.srs) format.
Distribution branch migrated to
rule-set. Generated.srsfiles are published to the orphanrule-setbranch (force-reset on every update) somainstays small. Update any cached URLs:@main/rule-set/<name>.srs→@rule-set/<name>.srs.
The following rule sets are automatically updated daily. All files are hosted on GitHub for fast access, with jsDelivr acceleration available.
| Rule Set | Description | Download |
|---|---|---|
hagezi-light.srs |
Basic protection, low false positive rate. | Download |
hagezi-normal.srs |
Recommended for most users. | Download |
hagezi-pro.srs |
Better protection, slightly higher chance of false positives. | Download |
hagezi-pro-plus.srs |
Pro + more extensive lists. | Download |
hagezi-ultimate.srs |
Maximum protection, for advanced users. | Download |
| Rule Set | Description | Download |
|---|---|---|
1hosts-lite.srs |
1Hosts Lite: Lightweight, low false positives. | Download |
1hosts-xtra.srs |
1Hosts Xtra: Aggressive protection. | Download |
adguard-dns-filter.srs |
AdGuard DNS Filter: Standard protection. | Download |
aw-avenue-ads.srs |
AW Avenue Ads Rule. | Download |
dan-pollock.srs |
Dan Pollock’s List. | Download |
oisd-big.srs |
OISD Big: Comprehensive blocklist. | Download |
oisd-small.srs |
OISD Small: Basic ad blocking. | Download |
peter-lowe.srs |
Peter Lowe’s Blocklist. | Download |
shadowwhisperer-tracking.srs |
ShadowWhisperer Tracking List. | Download |
steven-black.srs |
Steven Black’s List. | Download |
| Rule Set | Description | Download |
|---|---|---|
big-list-hacked-malware.srs |
The Big List of Hacked Malware Web Sites. | Download |
dandelion-sprout-anti-malware.srs |
Dandelion Sprout’s Anti-Malware. | Download |
hagezi-abused-tlds.srs |
HaGeZi: Most Abused TLDs. | Download |
hagezi-badware-hoster.srs |
HaGeZi: Badware Hoster. | Download |
hagezi-bypass.srs |
HaGeZi: DoH/VPN/Proxy Bypass. | Download |
hagezi-dyndns.srs |
HaGeZi: DynDNS. | Download |
hagezi-tif.srs |
HaGeZi: Threat Intelligence Feeds. | Download |
hagezi-url-shortener.srs |
HaGeZi: URL Shortener. | Download |
nocoin.srs |
NoCoin Filter List. | Download |
phishing-army.srs |
Phishing Army. | Download |
scam-blocklist.srs |
Scam Blocklist. | Download |
security-phishing.srs |
Phishing URL Blocklist. | Download |
shadowwhisperer-malware.srs |
ShadowWhisperer Malware List. | Download |
stalkerware.srs |
Stalkerware Indicators. | Download |
| Rule Set | Description | Download |
|---|---|---|
chn-adrules.srs |
🇨🇳 CHN: AdRules DNS List. | Download |
chn-anti-ad.srs |
🇨🇳 CHN: anti-AD. | Download |
hun-hufilter.srs |
🇭🇺 HUN: Hufilter. | Download |
idn-abpindo.srs |
🇮🇩 IDN: ABPindo. | Download |
irn-persianblocker.srs |
🇮🇷 IRN: PersianBlocker. | Download |
isr-easylist-hebrew.srs |
🇮🇱 ISR: EasyList Hebrew. | Download |
kor-youlist.srs |
🇰🇷 KOR: YouList. | Download |
mkd-macedonian.srs |
🇲🇰 MKD: Macedonian Blocklist. | Download |
nor-dandelion-sprout.srs |
🇳🇴 NOR: Dandelion Sprouts. | Download |
pol-filters.srs |
🇵🇱 POL: Polish filters. | Download |
tur-turkish-ad-hosts.srs |
🇹🇷 TUR: Turkish Ad Hosts. | Download |
ukrainian-security.srs |
🇺🇦 UKR: Ukrainian Security Filter. | Download |
vnm-abpvn.srs |
🇻🇳 VNM: ABPVN List. | Download |
| Rule Set | Description | Download |
|---|---|---|
dandelion-sprout-game-console.srs |
Game Console Adblock. | Download |
dandelion-sprout-push.srs |
Anti Push Notifications. | Download |
hagezi-allowlist-referral.srs |
HaGeZi: Allowlist Referral. | Download |
hagezi-anti-piracy.srs |
HaGeZi: Anti-Piracy. | Download |
hagezi-gambling.srs |
HaGeZi: Gambling. | Download |
hagezi-tracker-apple.srs |
HaGeZi: Apple Tracker. | Download |
hagezi-tracker-oppo-realme.srs |
HaGeZi: OPPO/Realme Tracker. | Download |
hagezi-tracker-samsung.srs |
HaGeZi: Samsung Tracker. | Download |
hagezi-tracker-vivo.srs |
HaGeZi: Vivo Tracker. | Download |
hagezi-tracker-windows.srs |
HaGeZi: Windows/Office Tracker. | Download |
hagezi-tracker-xiaomi.srs |
HaGeZi: Xiaomi Tracker. | Download |
no-google.srs |
No Google. | Download |
shadowwhisperer-dating.srs |
ShadowWhisperer Dating List. | Download |
smart-tv.srs |
Smart TV Blocklist. | Download |
You can use these remote rule sets directly in your config.json.
Example route configuration:
{
"route": {
"rule_set": [
{
"tag": "geosite-hagezi",
"type": "remote",
"format": "binary",
"url": "https://cdn.jsdelivr.net/gh/razaxq/dns-blocklists-sing-box@rule-set/hagezi-normal.srs",
"download_detour": "direct"
}
],
"rules": [
{
"rule_set": "geosite-hagezi",
"action": "reject"
}
]
}
}Note: Replace hagezi-normal.srs with your preferred variant.
This repository uses GitHub Actions to:
- Download the latest DNS blocklists.
- Download the
sing-boxbinary. - Convert rules to
.srsformat. - Publish the binary files to the
latesttag in Releases.
Updates run automatically every day at 02:00 UTC.
If you want to build the rules locally:
- Clone this repository.
- Run the update script:
chmod +x update.sh ./update.sh
- The converted
.srsfiles will be in therule-set/directory.
- Blocklists:
- 1Hosts
- ABPVN
- ABPindo
- AdGuard DNS Filter
- AdRules
- anti-AD
- AW Avenue Ads Rule
- Big List of Hacked Malware Web Sites
- Dan Pollock
- Dandelion Sprout
- EasyList Hebrew
- EasyList Lithuania
- Frellwit's Swedish Hosts
- HaGeZi's DNS Blocklists
- Hufilter
- List-KR
- Macedonian Pi-hole Blocklist
- No Google
- NoCoin
- OISD
- Perflyst (Smart TV)
- PersianBlocker
- Peter Lowe
- Phishing Army
- Polish filters for Pi-hole
- Scam Blocklist
- ShadowWhisperer
- Stalkerware Indicators
- Steven Black
- Turk Adlist
- Turkish Ad Hosts
- uBlock Origin
- Ukrainian Security Filter
- URLHaus
- YouList
- Tool: Sing-box