Astrill Setup Manual:How to flush DNS cache on Mac OS X

From Astrill Wiki
Jump to navigation Jump to search

STEP 1

Let's clear old DNS cache. Open Terminal from the dock or from /Applications/Utilities/ or with Spotlight.

N.mac flushdns1.jpg


STEP 2

In the terminal type in dscacheutil -flushcache and then press enter. This will clear old DNS cache.

Check other commands below:

* OSX 10.5 – 10.6
sudo dscacheutil -flushcache
* OSX 10.9  – 10.8 – 10.7
sudo killall -HUP mDNSResponder
* OSX 10.10.0 – 10.10.3
sudo discoveryutil mdnsflushcache
* OSX 10.10.4
sudo killall -HUP mDNSResponder
* OSX 10.11.0
sudo killall -HUP mDNSResponder
* macOS Sierra 10.12.0
sudo killall -HUP mDNSResponder

N.mac flushdns2.jpg