/etc

Blocklists for Hosts file

Plain operating system hosts file (Windows, macOS, Linux).

10compatible lists
1supported formats
12categories

Adding a blocklist to Hosts file

Linux / macOS

curl -fsSL "https://raw.githubusercontent.com/mtxadmin/ublock/master/hosts.txt" | sudo tee -a /etc/hosts > /dev/null

Windows (PowerShell as administrator)

Invoke-WebRequest "https://raw.githubusercontent.com/mtxadmin/ublock/master/hosts.txt" -OutFile "$env:TEMPhosts.txt"
Add-Content -Path "$env:SystemRootSystem32driversetchosts" -Value (Get-Content "$env:TEMPhosts.txt")

Very large hosts files can slow down DNS resolution on some systems. Prefer a DNS-based blocker like Pi-hole or AdGuard Home for lists with more than ~100k entries.

The address shown above is an example. Every list in the directory has its own URL, which you can copy with one click.

By topic

All 10 lists for Hosts file

Submit a list
10 lists < 7 days < 30 days older

Filter list covering privacy, proxy. Format: Hosts (localhost IPv6). See the project homepage for details and inclusion criteria.

Privacy Security Hosts
809 entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list covering proxy. Format: Non-localhost hosts (IPv4). See the project homepage for details and inclusion criteria.

Security Hosts
22.2k entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list covering proxy. Format: Non-localhost hosts (IPv6). See the project homepage for details and inclusion criteria.

Security Hosts
2,061 entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list covering proxy. Format: Non-localhost hosts (IPv4). See the project homepage for details and inclusion criteria.

Security Hosts
5,359 entries
±0 last change
updated
AAAGAGBL/etc+5

Go Hosts

by Lerist

Filter list covering proxy. Format: Non-localhost hosts (IPv4). Maintained by Lerist. See the project homepage for details and inclusion criteria.

Security Hosts
22.0k entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list covering proxy. Format: Non-localhost hosts (IPv4). See the project homepage for details and inclusion criteria.

Security Hosts
16.4k entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list covering proxy. Format: Non-localhost hosts (IPv4). See the project homepage for details and inclusion criteria.

Security Hosts
174 entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list covering proxy. Format: Non-localhost hosts (IPv4). See the project homepage for details and inclusion criteria.

Security Hosts
- entries
±0 last change
updated
AAAGAGBL/etc+5

Filter list covering piracy. Format: Hosts (localhost IPv4). See the project homepage for details and inclusion criteria.

Security Hosts
315 entries
±0 last change
updated
AAAGAGBL/etc+5
Scroll to Top