gitwtfhub

wtf is blocklists?

jmdugan/blocklists — explained in plain English

Analysis updated 2026-06-26

4,572DIGITAL Command LanguageAudience · generalComplexity · 1/5Setup · easy

TL;DR

A collection of domain name blocklists for corporate websites that you can add to your hosts file or Pi-hole to prevent your devices from connecting to those domains.

Mindmap

mindmap
  root((repo))
    What It Is
      Domain blocklists
      Corporate domains
      Plain text files
    How to Use
      Edit hosts file
      Load into Pi-hole
      Use with Dnsmasq
    Platforms
      Linux and macOS
      Windows
      Home network
    Related Tools
      Pi-hole
      Dnsmasq
      Privoxy

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Block corporate tracking domains on your computer by adding entries to your system hosts file.

REASON 2

Set up network-wide domain blocking on Pi-hole to protect all devices on your home network.

REASON 3

Filter out specific corporate services from your network using Dnsmasq or Privoxy.

What's in the stack?

Pi-holeDnsmasqPrivoxy

How do you spin it up?

Difficulty · easy Time to first run · 30min

Editing /etc/hosts on Linux or macOS requires administrator privileges.

No license information is provided in this repository.

Wtf does this do

This repository is a collection of categorized domain name lists that people can use to block specific websites or services on their computers or networks. The current focus is on corporate domains. The lists are intended to be added to a hosts file, which is a plain text file that computers consult before looking up a domain name on the internet. By adding a domain to this file and pointing it at a non-existent address, you can prevent your device from connecting to that domain at all. On Linux, macOS, and Unix systems the hosts file lives at /etc/hosts. On Windows it is found at C:\WINDOWS\system32\drivers\etc\hosts. The README also mentions using these lists with Pi-hole, a network-level ad and content blocker that runs on a small device like a Raspberry Pi and applies the block to every device on your local network. Dnsmasq and Privoxy are named as additional tools that can use these lists. The README is brief and does not describe which specific corporations or domains are included, or how frequently the lists are updated. It links to a few related projects for additional blocklists covering ads, malware, and other categories. This is a straightforward data repository rather than a software project. There is no code to run. You copy the domain entries you want into your hosts file or load them into a supported tool, and the blocking takes effect.

Yoink these prompts

Prompt 1
Show me the commands to add entries from jmdugan/blocklists to my /etc/hosts file on Linux or macOS.
Prompt 2
How do I import the corporate domain blocklist from jmdugan/blocklists into Pi-hole as a custom blocklist?
Prompt 3
What is the format of the domain entries in jmdugan/blocklists and how does a hosts file entry work?
Prompt 4
Give me a shell script that downloads the latest blocklist from jmdugan/blocklists and appends it to /etc/hosts.

Frequently asked questions

wtf is blocklists?

A collection of domain name blocklists for corporate websites that you can add to your hosts file or Pi-hole to prevent your devices from connecting to those domains.

What language is blocklists written in?

Mainly DIGITAL Command Language. The stack also includes Pi-hole, Dnsmasq, Privoxy.

What license does blocklists use?

No license information is provided in this repository.

How hard is blocklists to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is blocklists for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.