Skip to content

Instantly share code, notes, and snippets.

@hotsaucejake
Created February 14, 2017 20:35
Show Gist options
  • Save hotsaucejake/4d712d25716b00073b406adeca4b1a6e to your computer and use it in GitHub Desktop.
Save hotsaucejake/4d712d25716b00073b406adeca4b1a6e to your computer and use it in GitHub Desktop.
override local DNS (OS X)

open the hosts file

sudo nano /private/etc/hosts

edit and save

flush cache to update

dscacheutil -flushcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment