Skip to content

Instantly share code, notes, and snippets.

@j1n6
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j1n6/6424a0e2c33d5a25a9ae to your computer and use it in GitHub Desktop.
Save j1n6/6424a0e2c33d5a25a9ae to your computer and use it in GitHub Desktop.
disable osx cache
# Microsoft Windows
# (Win 7/Vista/XP/Win ME/Win 2000/Win 98)
# - Start -> Run -> type cmd
# At the command prompt, type:
ipconfig /flushdns
# Certain Linux distributions
# Restart the nscd daemon
/etc/rc.d/init.d/nscd restart
# Mac OS X (10.4 and under)
sudo lookupd -flushcache
# Mac OS X (10.5 up to 10.7)
dscacheutil -flushcache
# Mac OS X (10.7 and 10.8)
sudo killall -HUP mDNSResponder
# Mac OS X (10.10)
sudo discoveryutil udnsflushcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment