DNS /etc/hosts file manager, Block 1 Million malicious domains with 1 command
MIT License
/etc/hosts
file manager, Block 1 Million malicious domains on 1 command./etc/hosts
by default, Backup by default, can delete itself (for Docker), runs on Alpine.$ dnsprotec
n
to everything it gives you your current /etc/hosts
file.nimble install dnsprotec
$ nim c dnsprotec.nim
/etc/hosts
with -d:overwrite
./etc/hosts
will be statically read as a base template for new host files.hosts
file format, separated by comma:-d:customUrls="http://foo.io/hosts,http://bar.io/blacklist,http://127.0.0.1/blockedDNS"
As a side-effect, Spotify desktop app behaves like Premium, it will not show Ads, but plays music.
If it stops playing music disable the DNS protec, use it for a while, and you can enable it back later, it seems from time to time it checks with Spotify servers, but yeah Spotify Premium for free ;)
I know there are other scripts, but those need a virtual machine or interpreter, and need to be online to work properly, I needed one that can work offline and standalone.