1. Home
  2. Shared Hosting
  3. Flush DNS Cache From Your Computer

Flush DNS Cache From Your Computer

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 are not showing the exact current settings / configurations.

Cause

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

Guidelines

Task 1: For Windows OS

Step 1: Select Start

Step 2: Type in and select Command Prompt

Step 3: Within the command line, type ipconfig /flushdns

E.g. 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” .

Task 2: For Mac OS

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

Step 2: In the terminal, type lookupd -flushcache

macintosh:~ user$ lookupd -flushcache

Task 3: For Mac OS 10.5 Leopard

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

Step 2: In the terminal, type dscacheutil -flushcache

macintosh:~ user$ dscacheutil -flushcache

Task 4: For Linux OS

Step 1: Open a terminal window.

Step 2: In the terminal, type the command /etc/rc.d/init.d/nscd restart OR /etc/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.

Updated on October 25, 2019

Was this article helpful?

Related Articles

Leave a Comment