Skip to content

Instantly share code, notes, and snippets.

@leganz
Created August 12, 2020 07:58
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 leganz/b7c7df8980763c0a889b76700b4ce628 to your computer and use it in GitHub Desktop.
Save leganz/b7c7df8980763c0a889b76700b4ce628 to your computer and use it in GitHub Desktop.
Flush dns records on your mac
echo "Clear dns cache..."
dscacheutil -flushcache && sudo killall -HUP mDNSResponder
echo "DNS Cache cleared!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment