Bering-uClibc 5.x - User Guide - Advanced Topics - Setting Up Add blocking with dnsmasq
From bering-uClibc
Objectives
There is a lot of info on the net about setting dnsmasq
to block advertisements, trackings... etc. This is a quick guide that shows a simple setup to filter add sites with dnsmasq.
Prerequisites
You will need Bering-uClibc 5.x or higher.
manual setup
Enter the command:
curl -s -d mimetype=plaintext http://pgl.yoyo.org/as/serverlist.php?hostformat=dnsmasqserver > /root/tmpfile.list