explaingit

jmdugan/blocklists

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

TLDR

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
Click or tap to explore — scroll the page freely

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

Things people build with this

USE CASE 1

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

USE CASE 2

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

USE CASE 3

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

Tech stack

Pi-holeDnsmasqPrivoxy

Getting it running

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.

In plain English

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.

Copy-paste 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.
Open on GitHub → Explain another repo

← jmdugan on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.