Flushing DNS Cache on Mac OS X

Send Snippet To: Save this snippet to Code Collector Pro -- view all damien's snippets
language: Other
license: Other

Code for Snippet:

## Works on Mac OS X Mountain Lion (10.8.x) and Lion (10.7.x)
## Run this command in the Terminal: 
sudo dscacheutil -flushcache 
## Then run this command to make sure that DNS tool is clear.
sudo killall -HUP mDNSResponder 
comments powered by Disqus


Source Site:


Tags: Admin Mac-OS-X DNS skEdit-Scripts

Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 1529
Date Added: 2013-11-14 20:34:38
Last Modified: 2013-12-09 12:39:53

Web Analytics