/hosts-blocklists

Automatically updated, moderated and optimized lists for blocking ads, trackers, malware and other garbage

No more ads, tracking and other virtual garbage

All blocklists are gathered from multiple, actively maintained sources and automatically updated, cleaned, optimized and moderated on a daily basis.

The main domains.txt and hostnames.txt are designed for usage with dnsmasq, but a dnscrypt-proxy combined blacklist with the same coverage is also available as it has the added benifit of being able to block cnames. For any other adblocker that support the AdblockPlus format a network filter list is available.

General blocklist policies

  • Should not break useful websites or apps
  • Blocks tracking servers
  • Blocks advertising servers
  • Blocks analytics servers
  • Blocks scam websites
  • Blocks malware servers
  • Blocks webminers
  • Blocks phishing servers

Optimization

The optimizer makes full use of domainname based wildcard filtering *.doubleclick.net, this reduces the chance of missing any new subdomains and significantly reduces the size of the blocklists. Hostnames that cannot be blocked on a domain level will still be listed in a regular hostname based blocklist.

Dead hosts removal

All hostname DNS records are constantly monitored for updates. In case the A, AAAA, CNAME and NS records return NXDOMAIN they will be marked as dead and removed from hostnames.txt. Domains are tested on their whois data, all unregistered domains will be filtered out of domains.txt.

The current list of dead hostnames can be found here and have a look here for all unregistered domains.

DNS over HTTPS (DOH)

DNS over HTTPS will prevent clients in your network from using the default local DNS services. Mozilla Firefox has a feature to disable DOH network wide for all clients as described here.

All domain and combined lists will block the canary domain use-application-dns.net, disabeling DOH by default on all clients.

Versions

List List Type Compatibility
dnsmasq/dnsmasq.blacklist.txt config Dnsmasq
dnscrypt-proxy.blacklist.txt hostnames Dnscrypt-proxy
adblock/adblock.txt AdblockPlus Adguard Home, uBlock Origin
hostnames.txt hosts Dnsmasq (old: pre version 2.80)
domains.txt config Dnsmasq (old: pre version 2.80)

How to install

Supporting Notracking blocklist

You can support in multiple ways:

Sources

Most sources come from public hostfile type lists, though several AdblockPlus lists are also included only for their non-3rd party networking filters ||evilhost.com^. See SOURCES.md for the full overview of all included lists.