By the way, the Windows cleanup DNS dos command: ipconfig /flushdns;
mac According to different OS X versions, the command line is also different:
1. Tiger or earlier Mac OS:
=> sudo lookupd -flushcache
2, Leopard and Snow Leopard :
=>sudo dscacheutil -flushcache
3, and to Lion, Mountain Lion and Mavericks:
=>sudo killall -HUP mDNSResponder
4, Yosemite :
=>sudo discoveryutil mdnsflushcache
5, Yosemite 10.10.5 is said to be back (not verified):
= >sudo killall -HUP mDNSResponder
6, El Capitan (tested under 10.11.2)
=>sudo discoveryutil mdnsflushcache
7, EI Capitan (tested under 10.11.3)
=>sudo dscacheutil -flushcache
=>sudo killall -HUP mDNSResponder
=> say cache flushed
View DNS cache:
=>nslookup -q=ns baidu.com
Reference: http://blog4me.sinaapp.com/index.php/archives/61.html
---------------------------- ----------------------------------------
If there are other questions or errors in the text, Please point it out to me in time so that
I can correct it in time and let us make progress together.
email : [email protected]
qq : 1035862795 Stepping
stone: Code composes life
Clear DNS cache on Mac
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326760572&siteId=291194637
Recommended
Ranking