字體:  

在 Mac OSX 10.10.4 Yosemite 下如何清 DNS Cache

benchen72 發表於: 2015-4-13 14:52 來源: ADJ網路控股集團


When URLs are just not resolving the way you want it, to time to clear or flush the dns nameserver local cache -flush-the-loacl-cache

How to clear the local DNS cache….

OSX 10.10.4

QUOTE:


sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed


OSX 10.10 (10.10, 10.10.1, 10.10.2, 10.10.3)

QUOTE:


sudo discoveryutil udnsflushcaches


參考: http://osxdaily.com/2014/11/20/flush-dns-cache-mac-os-x/