OS X El Capitan- How to Flush DNS Cache

Open up terminal (/Applications/Utilities/). Enter the following command:

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

Enter the admin password when requested (required by sudo) to execute the DNS cache clearing.

You will hear “DNS Cache flushed” when the command has been completed successfully.


Tags: ,

No comments yet.

Leave a Reply