Skip to content

Instantly share code, notes, and snippets.

@acodega
Created January 15, 2019 14:29
Show Gist options
  • Save acodega/70545e2a516edf0d40a65378d988cb53 to your computer and use it in GitHub Desktop.
Save acodega/70545e2a516edf0d40a65378d988cb53 to your computer and use it in GitHub Desktop.
Clearing DNS cache, 10.5 through 10.14
# 10.10.4-Current
sudo killall -HUP mDNSResponder
# 10.10.0-10.10.3
sudo discoveryutil mdnsflushcache
# 10.7-10.9
sudo killall -HUP mDNSResponder
# 10.5-10.6
sudo dscacheutil -flushcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment