Automated workflows to fetch, filter, and maintain DNS blocklists for privacy and security. The originaly lists worked but used too much memory. The adjustments below clean up the lists, but I am retaining functionality by adding the TLDs directly to the DNS server.
| Blocklist Source | Workflow Status |
|---|---|
| NRD 30-day mini | |
| Fakenews-Gambling-Porn |
This project processes and maintains two DNS blocklists:
-
NRD 30-day mini domains-only (source)
- Filters out domains ending with
.ru,.cn,.kp,.zip,.byto reduce memory footprint. - The filtered list is saved as
lists/nrd-14day-mini-shrink.txt.
- Filters out domains ending with
-
StevenBlack Fakenews-Gambling-Porn-Only hosts (source)
- Removes comment lines and the
0.0.0.0prefix. - The cleaned list is saved as
lists/fakenews-gambling-porn-only-shrink.txt.
- Removes comment lines and the
- Download the source list.
- Filter out domains ending with specified TLDs:
.ru .cn .kp .zip .by - Save the result to
lists/nrd-30day-mini-shrink.txt.
- Download the source hosts file.
- Remove comment lines and strip the
0.0.0.0prefix. - Filter out domains ending with specified TLDs:
.ru .cn .kp .zip .by - Save the result to
lists/fakenews-gambling-porn-only-shrink.txt.
lists/nrd-14day-mini-shrink.txt— NRD blocklist (TLDs removed)lists/fakenews-gambling-porn-only-shrink.txt— Fakenews-Gambling-Porn-Only blocklist (comments removed, prefix stripped)
Use these blocklists with your DNS server or ad-blocking solution to block unwanted domains efficiently.