https://github.com/zachlagden/pi-hole-optimized-blocklists
Ready-to-use, optimized blocklists for Pi-hole, regularly updated and categorized by threat type
https://github.com/zachlagden/pi-hole-optimized-blocklists
blocklist dns pihole-blocklists privacy
Last synced: 5 months ago
JSON representation
Ready-to-use, optimized blocklists for Pi-hole, regularly updated and categorized by threat type
- Host: GitHub
- URL: https://github.com/zachlagden/pi-hole-optimized-blocklists
- Owner: zachlagden
- License: mit
- Created: 2025-03-15T16:23:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-11T00:29:30.000Z (6 months ago)
- Last Synced: 2026-01-11T08:23:50.176Z (6 months ago)
- Topics: blocklist, dns, pihole-blocklists, privacy
- Homepage:
- Size: 154 KB
- Stars: 135
- Watchers: 2
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pi-hole Optimized Blocklists



**Pre-optimized, deduplicated blocklists for [Pi-hole](https://pi-hole.net/)**
> **Looking for more features?** Check out [Zach's Lists](https://lists.zachlagden.uk) — a full-featured blocklist platform with custom source selection, smart whitelisting, and multiple output formats.
---
## Available Lists
| List | Description | Domains |
|------|-------------|--------:|
| **[all_domains.txt](https://media.githubusercontent.com/media/zachlagden/Pi-hole-Optimized-Blocklists/main/lists/all_domains.txt)** | Everything combined (except NSFW) | 1,570,173 |
| **[advertising.txt](https://media.githubusercontent.com/media/zachlagden/Pi-hole-Optimized-Blocklists/main/lists/advertising.txt)** | Ad networks & services | 108,179 |
| **[tracking.txt](https://media.githubusercontent.com/media/zachlagden/Pi-hole-Optimized-Blocklists/main/lists/tracking.txt)** | Analytics & telemetry | 35,822 |
| **[malicious.txt](https://media.githubusercontent.com/media/zachlagden/Pi-hole-Optimized-Blocklists/main/lists/malicious.txt)** | Malware, phishing, scams | 1,140,732 |
| **[suspicious.txt](https://media.githubusercontent.com/media/zachlagden/Pi-hole-Optimized-Blocklists/main/lists/suspicious.txt)** | Potentially unwanted | 53,818 |
| **[comprehensive.txt](https://media.githubusercontent.com/media/zachlagden/Pi-hole-Optimized-Blocklists/main/lists/comprehensive.txt)** | Curated multi-category | 470,251 |
| **[nsfw.txt](https://media.githubusercontent.com/media/zachlagden/Pi-hole-Optimized-Blocklists/main/lists/nsfw.txt)** | Adult content (separate) | 372,253 |
> **Note:** `nsfw.txt` is **not** included in `all_domains.txt` because it blocks legitimate adult sites. Add it separately if you want NSFW blocking.
**Last updated**: January 18, 2026
## Quick Start
1. Go to Pi-hole admin → **Settings** → **Adlists**
2. Add the raw URL for your chosen list(s)
3. Run `pihole -g` to update
## FAQ
What's the difference between this and Zach's Lists?
This repository provides static, pre-built blocklists updated weekly. [Zach's Lists](https://lists.zachlagden.uk) offers additional features:
- Custom source selection — pick which blocklists to include
- Smart whitelisting — regex, wildcards, subdomain patterns
- Multiple formats — hosts, plain, and Adblock syntax
- Real-time build progress
Both use the same underlying sources and are maintained by the same person.
How often are these lists updated?
Every Sunday at midnight UTC via GitHub Actions.
Which list should I use?
- **comprehensive.txt** — Good balance for most users
- **all_domains.txt** — Maximum blocking (may cause false positives)
- Individual category lists — If you want granular control
## Star History
## License
MIT License — see [LICENCE](LICENCE) for details.