
Nolovia is an ad/malware blocking configuration file generator for bind, NSD, and other DNS resolvers.
nolovia is a config file generator that assists in implementing a blackholing DNS server or DNS “sinkhole” firewall. nolovia ingests several public lists of advertising, tracking, analytics, malware, and other potentially undesirable servers. These lists are then merged and minimized as much as possible, and exported as a config file suitable for use with the bind or nsd DNS resolver. A corresponding blackhole zone file is included.
Why operate a local DNS server?
Running your own DNS is a more powerful alternative to hosts file-based ad blocking and tracker blocking.
* A DNS server can blackhole entire domains, even when you don’t know all of their hostnames or subdomains.
* With a local DNS server, you configure your blocking rules in one place, instead of constantly updating a text file on all the devices on your network.
* Unlike hosts files, practically every smartphone will let you configure the DNS server without rooting it or installing custom software.
Dependencies:
– php5 php-cli
Usage:
1 2 3 4 5 6 7 8 9 10 11 |
mkdir nolovia && cd nolovia git clone https://github.com/ampersign/nolovia.git . php nolovia.php his will generate a file named blackhole.conf Copy blackhole.conf and the included blackhole.zone file somewhere that makes sense for your system, like /var/named/ or c:\bind\. Edit your named.conf to define an access control list (ACL) named "recursers," this will define who's allowed to query your DNS server recursively. For security purposes, only hosts on your local network should be allowed: acl recursers { localhost; localnets; }; Please read a README.MD for completely how to use! |
Source: https://github.com/ampersign