Knowledgebase: Shared Hosting
How to Flush DNS Cache From Your Computer?
Posted by - NA - on 22 March 2010 10:26 AM
Issue

Unable to load web pages fully or can't view the changes on your site after a certain update being done.


Symptoms

The sites is not showing the exact current site.


Cause

The website's DNS information has changed since the computer's last visit.


Workaround

You may refer below for the guideline on flushing the DNS cache of your machine:

Windows OS
To flush DNS for a computer running Windows, please do the following:

STEP 1: On your local machine, open a command prompt (click Start and select Run)
  
STEP 2: Type cmd and click Ok

Within the prompt, type ipconfig /flushdns

C:\>ipconfig /flushdns

Note:
- For users of Windows Vista , if you encounter the error "The requested operation requires elevation", make sure you open the Command Prompt by right clicking and select "Run as Administrator" .


Mac OS
To flush DNS for a computer running Mac OS, please do the following:

STEP 1: On your local machine, open a terminal window.
  
STEP 2: Within the prompt, type lookupd -flushcache

macintosh:~ user$ lookupd -flushcache


Mac OS 10.5 Leopard
To flush DNS for a computer running Mac OS 10.5 Leopard, please do the following:

STEP 1: On your local machine, open a terminal window.

STEP 2: Within the prompt, type dscacheutil -flushcache

macintosh:~ user$ dscacheutil -flushcache


Linux
Clearing the DNS cache is done by restarting the nscd daemon.

STEP 1: Open up a Terminal window

STEP 2: Type command: /etc/rc.d/init.d/nscd restart


Additional Information

The workaround explains how to flush a computer's DNS cache. When a computer visits a website for the first time, it stores the website's DNS information in cache. The next time the computer visits a website, it looks in the cache to see if the website's information is present to use. Flushing the cache removes all the information stored in cache, forcing the computer to find the new DNS information for the website.


Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).