explaingit

hagezi/dns-blocklists

Analysis updated 2026-06-21

22,415TextAudience · generalComplexity · 1/5Setup · easy

TLDR

A regularly updated collection of DNS blocklists you can load into Pi-hole or AdGuard Home to automatically block ads, trackers, malware, and phishing on every device on your network, no per-device installs needed.

Mindmap

mindmap
  root((DNS Blocklists))
    What It Does
      Blocks ad domains
      Stops trackers
      Blocks malware
    List Tiers
      Light basic
      Normal standard
      Pro aggressive
      Ultimate maximum
    Specialized Lists
      Fake news
      Gambling sites
      Adult content
    Compatible Tools
      Pi-hole
      AdGuard Home
      Custom DNS resolvers
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

What do people build with it?

USE CASE 1

Load a blocklist into Pi-hole to automatically block ads and trackers on every device on your home network without installing anything per device.

USE CASE 2

Use the Pro or Pro++ list in AdGuard Home for more aggressive blocking of trackers and malware domains.

USE CASE 3

Add a specialized list for fake news, gambling, or adult content on top of the base blocklist to filter specific content categories.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires an existing DNS filtering tool such as Pi-hole or AdGuard Home, the lists do nothing on their own.

In plain English

This repository provides a collection of DNS blocklists, plain text files containing lists of domain names that should be blocked on your network. DNS is the system that translates website names (like "example.com") into the addresses computers use to connect. By loading these blocklists into a DNS resolver or ad-blocking tool, you can prevent your devices from ever connecting to domains that serve ads, tracking scripts, malware, phishing pages, scams, and other unwanted content. The lists come in multiple versions with increasing aggressiveness: Light (basic protection with minimal risk of blocking legitimate sites), Normal, Pro, Pro++, and Ultimate (maximum blocking, more likely to occasionally block something you want). There are also specialized lists targeting specific things like fake news domains, pop-up ads, newly registered domains (often used by attackers), gambling sites, adult content, and social networks. You would use these lists if you run a home network with a DNS filtering tool like Pi-hole or AdGuard Home, or if you use a DNS service that accepts custom blocklists. Loading one of these lists means every device on your network automatically has ads and trackers blocked without installing anything on each individual device. No programming is involved, you just copy a link to the list format that matches your tool and paste it into your blocker's settings. The lists are updated regularly.

Copy-paste prompts

Prompt 1
How do I add the hagezi DNS Normal blocklist to Pi-hole by pasting the subscription URL into the blocklist settings?
Prompt 2
What is the difference between hagezi Light, Normal, Pro, Pro++, and Ultimate blocklists, and which should I use for a home network?
Prompt 3
How do I add multiple hagezi blocklists to AdGuard Home without causing conflicts or slowing down DNS resolution?
Prompt 4
How do I set up Pi-hole on a Raspberry Pi and then load the hagezi Pro blocklist to block ads on my whole home network?

Frequently asked questions

What is dns-blocklists?

A regularly updated collection of DNS blocklists you can load into Pi-hole or AdGuard Home to automatically block ads, trackers, malware, and phishing on every device on your network, no per-device installs needed.

What language is dns-blocklists written in?

Mainly Text.

How hard is dns-blocklists to set up?

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

Who is dns-blocklists for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub hagezi on gitmyhub

Verify against the repo before relying on details.