43 lines
1.7 KiB
Markdown
43 lines
1.7 KiB
Markdown
# blacklist
|
|
|
|
Custom blocklists for Pi-hole (v6+), meant to run alongside the standard public adlists and catch what they miss.
|
|
|
|
## Lists
|
|
|
|
| File | Entries | Contents | Raw URL |
|
|
| --- | --- | --- | --- |
|
|
| `blacklist` | ~105 | Ads, analytics, telemetry, social tracking, consent managers, affiliate links, scams, adult, gambling, game ads, VK, ad networks & popup redirects | `https://git.ki5bhv.com/justin/blacklist/raw/branch/main/blacklist` |
|
|
| `social-only` | ~31 | Dating sites, TikTok clones, DateMeme, Reddit tracking, MySpace, WhatsApp | `https://git.ki5bhv.com/justin/blacklist/raw/branch/main/social-only` |
|
|
|
|
To use a list, add its raw URL in the Pi-hole web UI under **Lists**, then update gravity.
|
|
|
|
## Format
|
|
|
|
Each entry uses Adblock Plus syntax, which Pi-hole v6 supports:
|
|
|
|
```
|
|
# Section name
|
|
||example.com^
|
|
```
|
|
|
|
- `||example.com^` blocks `example.com` **and all its subdomains** (`www.example.com`, `api.example.com`, ...).
|
|
- List the highest domain you want blocked; don't add subdomains that a parent entry already covers.
|
|
- To block only part of a site, list just those subdomains (e.g. `||events.reddit.com^`).
|
|
- Lines starting with `#` are comments; group entries under a `# Section` heading.
|
|
- Domains are lowercase, one per line, no `0.0.0.0` prefix.
|
|
|
|
## Maintenance
|
|
|
|
- **Add** a domain under the section that fits it best (use `# Other` if nothing does).
|
|
- **Skip duplicates** — if a domain is already covered by another adlist on the Pi-hole, don't add it here.
|
|
- **Prune dead domains** periodically; entries that no longer resolve can be removed.
|
|
- Keep commits small and descriptive, e.g. `Add example.com`.
|
|
|
|
## Deploying
|
|
|
|
After pushing, update gravity on the Pi-hole:
|
|
|
|
```
|
|
pihole -g
|
|
```
|