Skip to content

MarkDarwin/dns-blocking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

295 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ DNS Blocking

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.


🚦 Workflow Status

Blocklist Source Workflow Status
NRD 30-day mini ✔️ NRD Workflow Status
Fakenews-Gambling-Porn ✔️ Fakenews Workflow Status

📋 Overview

This project processes and maintains two DNS blocklists:

  • NRD 30-day mini domains-only (source)

    • Filters out domains ending with .ru, .cn, .kp, .zip, .by to reduce memory footprint.
    • The filtered list is saved as lists/nrd-14day-mini-shrink.txt.
  • StevenBlack Fakenews-Gambling-Porn-Only hosts (source)

    • Removes comment lines and the 0.0.0.0 prefix.
    • The cleaned list is saved as lists/fakenews-gambling-porn-only-shrink.txt.

� How it works

NRD Blocklist

  1. Download the source list.
  2. Filter out domains ending with specified TLDs:
    .ru .cn .kp .zip .by
    
  3. Save the result to lists/nrd-30day-mini-shrink.txt.

Fakenews-Gambling-Porn-Only Blocklist

  1. Download the source hosts file.
  2. Remove comment lines and strip the 0.0.0.0 prefix.
  3. Filter out domains ending with specified TLDs:
    .ru .cn .kp .zip .by
    
  4. Save the result to lists/fakenews-gambling-porn-only-shrink.txt.

📁 Output Files

  • 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)

🖥️ Example Usage

Use these blocklists with your DNS server or ad-blocking solution to block unwanted domains efficiently.


🔗 Sources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors