gongjianhui / AppleDNS

Apple 网络服务加速配置。[已停止更新,请慎用。]
2.34k stars 339 forks source link

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

Closed Bluelich closed 8 years ago

Bluelich commented 8 years ago

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

LeXwDeX commented 7 years ago

OSX 10.12 Sierra sudo killall -HUP mDNSResponder

Bliners commented 6 years ago

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