How to flush your local DNS Cache?

If your computer has trouble reaching a certain web site or server this may be due to a corrupt local DNS cache. This guide will show you how to clear your local DNS cache (“flush” it) for several operating systems.

Windows Vista/Windows 7:

Click on Start, followed by All Programs, and then AccessoriesRight-click on Command Prompt and choose Run as Administrator. In the Command Prompt window type in the following command and press Enter:

type:- ipconfig /flushdns

If all goes well, which it should, you will see the following confirmation message:

Successfully flushed the DNS Resolver Cache.

Windows XP

Click on Start, followed by All Programs, and then Accessories.

In the Command Prompt window type in the following command and press Enter:

type:- ipconfig /flushdns

If all goes well, which it should, you will see the following confirmation message:

Successfully flushed the DNS Resolver Cache.

Linux

Many current Linux distributions do not utilize a local DNS resolver cache like Windows and Mac OS X. If you do not know if your Linux installation is utilizing local DNS caching please see the website for your Linux distribution and look for information regarding default included software.

One of the most commonly used DNS caching Linux applications is NSCD (Name Service Cachine Daemon). If you have NSCD installed you can clear the local DNS cache by running one of the following commands in your favorite .

terminal/shell application:-

type:- nscd -i hosts

– Clear local DNS cache for current user.

nscd -I hosts

– Clear local DNS cache for all users.

 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I renew a domain name for less than a year?

According to Policy, The minimum registration period of a domain is one year. You can register it...

Domain Comparison: Parked vs Addon Domains

In this article we will list the main differences between parked and addon domains: Parked...

How can I check the current DNS servers of a domain?

In order to find out the DNS servers for a domain please go to this online lookup tool:...

How do I hide my personal information in the domain name WHOIS details?

In order to protect your personal information, you can use a service called Domain ID protect....

How do I make my domain resolve to my blogger?

Login to your control panel at http://domain.com/2082, and locate your DNS (Domain Name...