A lot of times we deal difficulty in accessing a number of URL’s due to corrupted local DNS cache. Following are the steps to clear local machine cache for various operating systems:

A) Windows XP/Windows Vista/Windows 7:

1) Click on Start >> All Programs >> Accessories.

2) Open Command Prompt.

3) In the Command Prompt window type in the following command:

C:\>ipconfig /flushdns

4) If it displays a message “Successfully flushed the DNS Resolver Cache” It has removed the DNS cache for your local machine now.

B ) Linux:

1) One of the most commonly used DNS caching Linux applications is NSCD (Name Service Caching Daemon).

2)If you have NSCD installed you can clear the local DNS cache by running one of the following commands in terminal/shell :

a)To Clear local DNS cache for current user.

# nscd -i hosts

b) To Clear local DNS cache for all users.

#nscd -I hosts

C) Mac OS X 10.5.2 and above /Mac OS X Leopard:

1) Click on the Finder icon in your dock >> Open Applications folder.

2) Inside the Applications folder >> click on Utilities >> Terminal.

3) Type the following command in the Terminal:

# dscacheutil -flushcache

D) Mac OS X 10.5.1 and below:

1) Click on the Finder icon in your dock >> Open Applications folder.
2)Inside the Applications folder >> click on Utilities >> Terminal.
3 )Type the following command in the Terminal:

# lookupd -flushcache

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>