This is an old revision of the document!
Together they form a malware, spyware and adblocking solution for your entire network!
updater will download blacklists of domain names for well know ad, spy and malware. It will then generate a custom
dnsmasq configuration that will make those domains point to the host running Adblock.
The result is a near ad-free experience when surfing the web. For other requests like zip's, exe's,… it will return a 404. This will also put a stop to a lot of spyware and malware.
Once everything is setup and working you can simply make your router or main dns server use your adblock host as forwarder.
1. download adware.dns, spyware.dns and malware.dns from the internet.
2. merge adware.dns, spyware.dns, malware.dns and custom.dns files into a blacklist, it them subtracts the entries from
3. converts blacklist into a dnsmasq configuration file
dnsmasq and sleeps for 4 hours, goes back to 1.
1. gets DNS query
2. checks in local configuration for IP
3a. returns IP adblock host (domain was found in blacklist)
3b. queries downstream servers configured in adblock-resolv.conf3) (domain was not found in blacklist)