This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 146
Install dnsmasq (old: pre v2.80)
notracking edited this page Jun 5, 2020
·
2 revisions
This is for dnsmasq versions below v2.80. For later versions you should follow these instructions.
It's important to use both domains.txt
and hostnames.txt
simultaneously in dnsmasq to get full coverage!
- 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 (reload will not update list changes)
sudo service dnsmasq restart
For automatic updates and whitelisting on Debian based systems you can use the notracking update script as a daily cronjob (detailed instructions inside).