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

Info

Source Site:

http://www.codecollector.net/view/2DA7D39A-C42F-49B5-A346-3FC3D4274D9D-1169-0000027CF7B2CDE9

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: 1045
Date Added: 2013-11-14 20:34:38
Last Modified: 2013-12-09 12:39:53

Web Analytics