From f3da866634d8d33c2016fbfbf1769c82d45dac8d Mon Sep 17 00:00:00 2001 From: Erle Pereira Date: Mon, 5 Mar 2018 11:57:21 +1100 Subject: [PATCH] add link to gist for dnsmasq format conversion, in the readme_template.md --- readme_template.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme_template.md b/readme_template.md index 6d9b8f737..40bbe24ce 100644 --- a/readme_template.md +++ b/readme_template.md @@ -339,3 +339,5 @@ devices under a variety of operating systems. * [Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server](https://scripttiger.github.io/dualserver "Block ads, malware, and deploy parental controls via local DualServer DNS/DHCP server") (for BSD, Windows & Linux): Set up a blacklist for everyone on your network using the power of the unified hosts reformatted for DualServer. And if you're on Windows, this project also maintains an update script to make updating DualServer's blacklist even easier. * [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver. + +* [DNSMasq conversion script](https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a#file-dnsmasq-antimalware) This github gist has a short shell script (bash, will work on any 'nix) and uses 'wget' & 'awk' present in most distros, to fetch a specified hosts file and convert it the format required by dnsmasq. Supports ipv4 and ipv6. Designed to be used as either a shell script, or can be dropped into /etc/cron.weekly (or wherever suits). Script is short and easily edited, also has a short document attached with notes on dnsmasq setup.