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
(Prerequisites)
(manual setup)
Line 8: Line 8:
  
 
==manual setup==
 
==manual setup==
 +
 +
Enter the command:
 +
 +
curl -s -d mimetype=plaintext http://pgl.yoyo.org/as/serverlist.php?hostformat=dnsmasqserver > /root/tmpfile.list

Revision as of 05:25, 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.

manual setup

Enter the command:

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