Professional SEO Logo

 

>> Client Login

Email:
Password:
Home Services Contact Us Portfolio Mission Search Site Blog  
                 

April 3, 2010

How to Clear the DNS Cache in Mac OSX Leopard

Filed under: Mac OS X Tips — Eric @ 7:40 pm

The Macintosh operating system and most computer operating systems for that matter will cache DNS requests. That is a good thing as it speeds up the DNS lookups within the same host. But sometimes this can become problematic when the cache contains values that are no longer valid or legitimate. Also nefarious software, viruses, or spyware can poison a DNS cache. Thus it can be necessary to clear (or reset) the DNS cache on your Mac and  to do that in Mac (OS Tiger and below) you open the Terminal.app program usually found within your Applications/Utilities/ folder and you type the following command:

lookupd -flushcache

However a Mac OSX 10.5 Leopard user will tell you this command did not work on their terminal. In Leopard a new command has been used to replace flushcache, so to clear DNScache in Leopard, just type this in your Terminal and hit enter.

dscacheutil -flushcache

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment