Created
March 24, 2017 20:43
-
-
Save christoph-frick/b7d1d09c6fab55c9946284b73975a547 to your computer and use it in GitHub Desktop.
Generate a block list for unbound
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt | grep '^0.0.0.0' | awk '{ print "local-zone: \"" $2 "\" refuse" }' > ad-blocking-data.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment