Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

Mac OS X 重置 DNS 緩存的命令在不同版本上是不一樣的 #41

Closed
Bluelich opened this issue Apr 2, 2016 · 2 comments
Closed

Comments

@Bluelich
Copy link

Bluelich commented Apr 2, 2016

10.10.4 or later:
sudo killall -HUP mDNSResponder

10.10 ~ 10.10.3:
sudo discoveryutil mdnsflushcache

10.7 ~ 10.9.5:
sudo killall -HUP mDNSResponder

10.6 ~ 10.6.8:
sudo dscacheutil -flushcache

@Bluelich Bluelich changed the title Mac OSX清除緩存的命令在不同版本上是不一樣的 Mac OSX重置DNS緩存的命令在不同版本上是不一樣的 Apr 2, 2016
@septs septs closed this as completed in faa1cee Apr 3, 2016
@septs septs changed the title Mac OSX重置DNS緩存的命令在不同版本上是不一樣的 Mac OS X 重置 DNS 緩存的命令在不同版本上是不一樣的 Apr 3, 2016
@LeXwDeX
Copy link

LeXwDeX commented Dec 14, 2016

OSX 10.12 Sierra
sudo killall -HUP mDNSResponder

@Bliners
Copy link

Bliners commented Dec 27, 2017

CleanMyMac 的维护里面有刷新DNS缓存

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants