Astrill Setup Manual:How to flush DNS cache on Mac OS X: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Port https://www.astrill.com/knowledge-base/65/DNS---How-to-configure-DNS-on-network-adapter-and-flush-DNS-cache-on-Mac-OS-X.html page into wiki (only put last step here).") |
(→STEP 2) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=='''STEP 1'''== | |||
Let's '''clear old DNS cache'''. Open '''Terminal''' from the dock or from /Applications/Utilities/ or with Spotlight. | |||
[[File:N.mac flushdns1.jpg|border]] | |||
=='''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 | |||
[[File:N.mac flushdns2.jpg|border]] |
Latest revision as of 04:21, 30 June 2017
STEP 1
Let's clear old DNS cache. Open Terminal from the dock or from /Applications/Utilities/ or with Spotlight.
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