Difference between revisions of "Bering-uClibc 5.x - User Guide - Advanced Topics - Setting Up Add blocking with dnsmasq"

From bering-uClibc
Jump to: navigation, search
(manual setup)
(Prerequisites)
Line 5: Line 5:
 
==Prerequisites==
 
==Prerequisites==
  
You will need Bering-uClibc 5.x or higher.  
+
* You will need Bering-uClibc 5.x or higher.
 +
* The <code class="filename">curl.lrp</code> package.
  
 
==manual setup==
 
==manual setup==

Revision as of 05:29, 14 November 2016

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