Skip to content

Merged collection of ad/tracking domain blocklist for Pi-hole and ad-blocking software

Notifications You must be signed in to change notification settings

sydlexxia/host-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Host Block List

A merged collection of ad/tracking domain blocklist compiled from various reputable sources.

Purpose

This hosts file blocks ads, trackers, and malicious domains by mapping them to 0.0.0.0. Use with:

  • Pi-hole
  • AdGuard Home
  • System hosts file (/etc/hosts on Unix/Linux, C:\Windows\System32\drivers\etc\hosts on Windows)
  • Other DNS-based ad-blocking solutions

Format

Standard hosts file format:

0.0.0.0 unwanted-domain.com

Usage

Pi-hole / AdGuard Home

Add the raw URL of hosts0.txt to your blocklist sources.

System Hosts File

Append the contents of hosts0.txt to your system's hosts file:

Linux/Mac:

sudo cat hosts0.txt >> /etc/hosts

Windows (as Administrator):

Get-Content hosts0.txt | Add-Content C:\Windows\System32\drivers\etc\hosts

Statistics

Contains 50,000+ domain entries compiled and updated from multiple reputable blocklist sources.

Last updated: March 2, 2025

About

Merged collection of ad/tracking domain blocklist for Pi-hole and ad-blocking software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •