dnsmasq-blacklist

Ads Domain Blacklist for Dnsmasq

If you have DD-WRT on your Wi-Fi router, here’s how you can enable DNS-based ad blocking:

  1. Go to Administration > Commands, add the following and press Save Startup
    wget -qO - http://zee.lv/dnsmasq-blacklist/blacklist.txt.gz | gunzip > /tmp/blacklist.txt
    stopservice dnsmasq
    startservice dnsmasq
    
  2. Go to Services, add the following to Additional Dnsmasq Options and press Save
    addn-hosts=/tmp/blacklist.txt
    
  3. Reboot your router via Reboot Router button and enjoy less ads.

Blacklist is being updated on a weekly basis. Feel free to use blacklist-generator.sh to generate blacklist for any Dnsmasq setup.