Blacklist
Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒
Install / Use
/learn @anudeepND/BlacklistREADME
<ins>Table of contents</ins>
- Features
- Who can use this file?
- Overview
- Usage
- Validation
- How do I determine an ad domain?
- Featured in
- Common Issues
- Stargazers over time
- Support
- License
<ins>Features</ins>
- Host file: Based on
hostsfile, all the bad domains are blocked with0.0.0.0 - Any device: Compatible with all devices, regardless of OS.
- Blockings: Strictly blocks
advertisements, malwares, spams, spyware & trackersand prevents your system from connecting to them. - Page load time: Quicker loading and cleaner looking web pages with fewer distractions.
- Privacy: Helps to
increaseprivacy by blocking online trackers. - Efficient: Lower resource waste (bandwidth, CPU, memory, battery etc.).
- Curated: Each domain and tested and verified before adding to the list.
- Well maintained: Domains are regularly updated and false positives will be addressed quickly.
- Mirror: All the files are available in mirror which provides
Last-Modifiedheader and has99.99% uptime.
<ins>Who can use this file?</ins>
These host files for Unix-like systems, the list contain domains that serve ads, tracking scripts and malware after adding this list to your setup, it prevents your system from connecting to them. Host file preferred over DNS so if a domain name is resolved by the hosts file, the request never leaves your computer.
<ins>Overview</ins>
<div align="center">It is highly recommended to use the mirror link as it provides Last-Modified header which ensures that you are getting the latest version. And the mirror has 99.99% uptime.
| Host File | Domain Count | Description | Update Frequency | Raw Link | Mirror Link | |:-:|:-:|:-:|:-:|:-:|:-:| | adservers.txt | 42,536 | A reliable host file containing advertising domains, trackers, malwares and other unsafe domains. I collect these domains from my Pi-Hole and I test them for a few days before adding to the list. You can request additional domains or report existing domains via issues tab. | Frequently | link | link | | facebook.txt | 4,000 | Host file containing domains related to facebook.com. This file doesn't block other Facebook products such as WhatsApp, Instagram etc. If you want to block all Facebook related services, use this list created by lightswitch05. | Occasionally | link | link | | coinminer.txt | 5,939 | This host file was created when JavaScript miners were added to torrent sites. Most of the domain in this file are still active today. I recommend you to use CoinBlockerLists by ZeroDot1 along with this list. | Discontinued | link | link |
</div><ins>Usage</ins>
This host file can be used on any device including Android, iOS, Linux, MacOS, routers with custom firmware etc. It is highly recommended to use the mirror link as it provides Last-Modified header which ensures that you are getting the latest version. And the mirror has 99.99% uptime.
- Rooted Android: For rooted device, this host file can be used with
AdAway, a free and open-source ad-blocker for Android. - Non-rooted Android: For non-rooted devices, you can use
Blokada,DNS66,Nebulo,Personal DNS Filter, orRethinkDNS + Firewall. - iOS: You can use
BlokadaMacOS: This host file can be used withgasmask. - Windows: On Windows, you can use
HostsManto get the best Windows Hosts Usage Experience. Make sure to disable DNS Client Service. - Linux: There are many scripts available on the Internet that will add the hosts to you. Or you can modify the
/etc/hosts. - DNS based adblockers: These files are compatible with DNS based adblockers such as
Pi-holeandAdGuardHome. - Adblockers: This list is compatible with
uBlock,AdGuardor any other extension, software & app.
For further assistance, you can send a DM to me on Twitter.
<ins>Validation</ins>
You can test if your ad blocker is working properly or not by visiting these websites:
https://ads-blocker.com/testing/
https://blockads.fivefilters.org/
<ins>How do I determine an ad domain?</ins>
- Adam:ONE Assistant (formerly DNSthingy Assistant): <a href="https://chrome.google.com/webstore/detail/adamone-assistant/fdmpekabnlekabjlimjkfmdjajnddgpc">This browser extension</a> will list all of the domains that are queried when a web page is loaded. You can often look at the list of domains and cherry pick the ones that appear to be ad-serving domains.
- Using a packet sniffer (Recommended):
HttpCanaryHttpCanary is a powerful HTTP/HTTPS/HTTP2/WebSocket/TCP/UDP packets capture and analyzer app designed for Android platform. Source - Using inbuilt Developer tool: For Chrome and Firefox,
ctrl+shift+Iwill land you in Developer tools menu. - Using an Android app:
Net Guardis an Android app that can be used to monitor any specific apps, works on unrooted devices too.
<ins>Featured in:</ins>
This project is also available in many host file aggregators and other services.
<div align="center"> <a href="https://nextdns.io/" > <img src="https://raw.githubusercontent.com/anudeepND/blacklist/master/images/nextdns-logo.png" width="190" height="55" alt="NextDNS logo" > <a/> <a href="https://hblock.molinero.dev/" > <img src="https://raw.githubusercontent.com/anudeepND/blacklist/master/images/hblock-logo.png" width=