Bering-uClibc 5.x - User Guide - Advanced Topics - Setting Up Add blocking with dnsmasq

From bering-uClibc
Revision as of 05:29, 14 November 2016 by Jeanrocco (Talk | contribs) (Prerequisites)

Jump to: navigation, search

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.
  • The curl.lrp package.

manual setup

Enter the command:

curl -s -d mimetype=plaintext http://pgl.yoyo.org/as/serverlist.php?hostformat=dnsmasqserver > /root/tmpfile.list