Skip to content

Instantly share code, notes, and snippets.


Erle Pereira erlepereira

View GitHub Profile
erlepereira /
Last active Aug 11, 2020
Using DNSMasq as a caching nameserver & add in a malware etc blocking

Assuming a Properly configured DNSMasq

a quickstart for dnsmasq is given at the end if you have not set it up yet.

something like this will add a great regularly updated malware file for it to use. More security and privacy to you! Specifically, this uses Choose one of the Raw Hosts file from there to use.

To setup DNSMasq, follow the below ...

wget -O- | awk '$1 == "" { print "address=/"$2"/"}' > /etc/dnsmasq.d/malware.conf`
You can’t perform that action at this time.