Skip to content

Instantly share code, notes, and snippets.

@compermisos
Created October 2, 2013 18:30
Show Gist options
  • Save compermisos/6798328 to your computer and use it in GitHub Desktop.
Save compermisos/6798328 to your computer and use it in GitHub Desktop.
Convert domain TLD`s to hosts.conf deny list
wget -qO- http://data.iana.org/TLD/tlds-alpha-by-domain.txt | sed -e '/^#/d' | sed 's/^/0.0.0.0 *./'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment