Skip to content

Latest commit

 

History

History
executable file
·
93 lines (85 loc) · 5.73 KB

README.md

File metadata and controls

executable file
·
93 lines (85 loc) · 5.73 KB

No more ads, tracking and other virtual garbage

This repository provides a host and domainname based blocklist specifically designed for use with dnsmasq. Most entries are gathered from multiple, actively maintained sources and automatically updated, cleaned, optimized and moderated on a daily basis.

The optimizer makes full use of dnsmasqs capability to block entire domains such as *.doubleclick.net (domains.txt). 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 (hostnames.txt).

It's important to use both domains.txt and hostnames.txt simultaniously in dnsmasq to get full coverage!

General policies

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

How to install

Default dnsmasq setup

  • Download the following two files (or use a daily cronjob to do it automatically)
https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt
https://raw.githubusercontent.com/notracking/hosts-blocklists/master/domains.txt
  • Add the following lines to your dnsmasq.conf
conf-file=/path/to/domains.txt
addn-hosts=/path/to/hostnames.txt
  • Restart dnsmasq sudo service dnsmasq restart

For a pi-hole setup

Unfortunately pi-hole currently does not provide an easy way to use dnsmasqs 'conf-file' feature, making the key feature of this blocklist (blocking domains) useless, see this post for more info. Using only our hostname list will not give you full coverage. At this moment it is recommended to set up you own dnsmasq configuration to make full use of our blocklists.

Sources

Domain and hostname lists

Adblock Plus lists (only full hostname, non-3rd party filters)

Lists that will NOT be included