Comprehensive blocklist for AdGuard Home, AdGuard, Little Snitch, Open Snitch, uBlock Origin, Brave Adblock, pfBlockerNG, and PiHole
This blocklist is specifically designed to block:
- π Analytics & Tracking β Google Analytics, Mixpanel, Segment, TikTok and Facebook Pixels, and more
- π Stats Platforms β Data collection and profiling services
- πͺ Cookie & Consent Management β Forced consent banners and cookie walls
- π Debugging Trackers β Sentry, LogRocket, and similar tools collecting your data not always in secure ways
- π― Data Brokers β Companies that collect and sell personal data
- π Tracking Parameters β UTM, affiliate, and click-tracking parameters removed
- π Cosmetic Filters β Cookie banner elements hidden and removing buttons to accidentally consent via dark patterns
- π§ Newsletter and Chatbot Popups β Subscription request overlays and annoying AI chatbot experiences
- π¦ Malware β Malicious software and viruses
- π₯οΈ Remote Administration Tools β RATs, software to control a device remotely, often used in scams
- π£ Phishing Campaigns β Domains attempting to scam you
- π° Gambling and Lottery β Domains associated with gambling and lottery scams
Warning
This blocklist prioritizes privacy over convenience. That is intentional.
This blocklist may break functionality for:
- TikTok
- Amazon Alexa
- Link shorteners
- Email tracking
See Troubleshooting below for whitelisting instructions if you encounter issues.
Choose your tool and follow the setup guide:
| Tool | Status | Guide |
|---|---|---|
| uBlock Origin | β Recommended | Setup |
| AdGuard Home | β Recommended | Setup |
| AdGuard | β Full Support | Setup |
| Little Snitch | β Recommended | Setup |
| Brave | β Recommended | Setup |
| PiHole | β Full Support | Setup |
| Open Snitch | β Full Support | Setup |
| pfBlockerNG | β Full Support | Setup |
| RethinkDNS | β Slow Updates | Setup |
| NextDNS | Setup |
Also works with: Dnsmasq Β· Adblock Plus Β· Blokada Β· DNSCloak Β· InviZible Β· Unbound Β· OPNsense
For best results, use this blocklist across 3 filtering levels:
- uBlock Origin (best support)
- Brave's native adblock
- Little Snitch (macOS)
- Open Snitch (Linux)
- AdGuard Home (self-hosted)
- PiHole (Raspberry Pi)
- NextDNS (via import to denylist)
Combine with:
This repository generates multiple formats for different tools:
| File | Format | Best For |
|---|---|---|
blocklist.txt |
Adblock/uBlock | Browsers, AdGuard |
domains.txt |
Plain domains | DNS, NextDNS |
hosts-blocklist.txt |
Hosts format | PiHole, localhost blocking |
pihole-blocklist.txt |
PiHole format | Pi-hole DNS |
rpz-blocklist.txt |
RPZ format | BIND, Unbound |
unbound-blocklist.txt |
Unbound format | Unbound, pfBlockerNG |
wildcard-blocklist.txt |
Wildcard domains | DNS servers |
little-snitch-blocklist.lsrules |
Little Snitch | macOS firewall |
Easiest method:
- Click here to add automatically
- Click the Subscribe button
Manual method:
- Open the uBO Dashboard
- Navigate to Filter lists
- Scroll down to + Custom
- Check Import...
- Paste: https://raw.githubusercontent.com/ph00lt0/blocklist/master/blocklist.txt
- Click Apply changes
- Go to Filters > DNS blocklists
- Click Add blocklist
- Select Add a custom list
- Choose a name and paste: https://raw.githubusercontent.com/ph00lt0/blocklist/master/blocklist.txt
- Click Save
Automatic method:
- Click here to subscribe
- For best results, enable the trusted checkbox
- Click Subscribe
Manual method:
- Open AdGuard Settings
- Navigate to Filters > Custom
- Enable the custom switch
- Click Add custom filter
- Paste: https://raw.githubusercontent.com/ph00lt0/blocklist/master/blocklist.txt
- Enable trusted checkbox
- Click Subscribe
- Click here to add the list
- Allow your browser to open Little Snitch
- Verify update frequency is set to daily and list is active
- Press Add
- Go to: brave://adblock
- Under Add custom filter lists, paste: https://raw.githubusercontent.com/ph00lt0/blocklist/master/blocklist.txt
- Click Add
PiHole uses a different format (hosts blocklist):
- Go to Group Management > Adlist
- Paste the URL: https://raw.githubusercontent.com/ph00lt0/blocklist/master/hosts-blocklist.txt
- Click Add
- Go to Tools > Update Gravity > Update
Install pfBlockerNG in pfSense:
- Go to System > Package Manager
- Click Available packages
- Find pfBlockerNG and click install
- In pfSense dashboard: Firewall > pfBlockerNG
- Follow the installation wizard
- Enable DNS resolver and DNSBL blocking under DNSBL tab
Add the blocklist:
- Go to Firewall > pfBlockerNG > DNSBL > DNSBL Groups
- Click Add
- Paste: https://raw.githubusercontent.com/ph00lt0/blocklist/master/unbound-blocklist.txt
- Click Save
- Enable auto-updates and force update if needed
Note: Script auto-update setup
-
Create a folder and download script:
mkdir -p /media/ph00lt0-blocklist/ wget https://raw.githubusercontent.com/ph00lt0/blocklist/master/blocklist.txt -O /media/ph00lt0-blocklist/blocklist.txt
-
Add to crontab for daily updates:
crontab -l | { cat; echo "00 11 * * * /usr/bin/wget https://raw.githubusercontent.com/ph00lt0/blocklist/master/blocklist.txt -O /media/ph00lt0-blocklist/blocklist.txt"; } | crontab -
-
In Open Snitch UI:
- Create new rule: 000-block-domains
- Check Enable and Priority
- Set Duration to always
- Check To this list of domains
- Select: /media/ph00lt0-blocklist/blocklist.txt
- Click Apply
Warning
RethinkDNS does not update the blocklists regulary which limits the effectiveness.
DOT (DNS over TLS): https://sky.rethinkdns.com/1:oAIIAACAIAA=
DOH (DNS over HTTPS): http://1-uabaqaaaqaqaa.max.rethinkdns.com/
MobileConfig (Apple Devices):
- Click here to download
- Open Settings/Preferences
- Tap Profile Downloaded
- Tap Install and follow onscreen instructions
NextDNS doesn't natively support this list, but you can import it via API using nextdnsctl:
pip install nextdnsctl nextdnsctl
login
nextdnsctl denylist import <profile> https://raw.githubusercontent.com/ph00lt0/blocklist/master/domains.txtIf a website or app breaks after enabling this blocklist:
| Problem | Solution |
|---|---|
| Site not loading | Temporarily disable blocklist to confirm |
| Login fails | Whitelist authentication domains |
| Video won't play | Check tracker filters (analytics may block playback) |
| Maps broken | Add geolocation domains to allowlist |
| Social media features fail | These are expected (Facebook, TikTok intentionally blocked) |
- uBlock Origin: Right-click element > "Never block" or go to Dashboard > Whitelist
- AdGuard: Settings > Filters > Whitelist > Add domain
- PiHole: Group Management > Clients > Add whitelist entries
- Little Snitch: Create allow rule for specific domains/processes
Found a broken website or want to suggest improvements?
Warning
This blocklist improves privacy and security, but isn't foolproof. Combine with updated software, and security awareness for best protection. No blocklist can catch everything. Stay vigilant.
- Source code: MIT License
- Content/data: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)