Skip to content

Instantly share code, notes, and snippets.

# ------------------
# | As well, note that the format is different on old macs, so
# | please visit http://someonewhocares.org/hosts/mac/ for mac format
# For Android place the file at "/system/etc/hosts". You will need root
# access on your device to do this.
# ------------------
# To convert the hosts file to a set of Cisco IOS commands for Cisco routers
# use this script by Jesse Baird:
# http://jebaird.com/2012/12/21/hosts-to-ip-host-generating-blocked-hosts-from-a-host-file-for-a-cisco-router.html