Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

How can I clear the contents of the DNS resolution cache in Windows 2000 and later?
 

A. To clear the DNS cache, perform the following steps:

  1. Start the Microsoft Management Console (MMC) DNS snap-in (Go to Start, Programs, Administrative Tools, and click DNS).
  2. From the View menu, select Advanced.
  3. Select and right-click the Cached Lookups tree node from the left-hand pane.
  4. Select Clear Cache from the context menu.

You can also use the Dnscmd command in Windows Server 2003 to clear the cache. From the command prompt, type

dnscmd /clearcache






Reader Comments

What about IPCONFIG /FlushDNS ??

J -December 23, 2003

Will ipconfig /flushdns perform the same function?

rommel -December 26, 2003

What will happen to the system if i do a Clear cache?clients will experiancing what?

ilias -March 19, 2004

What will happen to the system if i do a Clear cache?clients will experiancing what?

ilias -March 19, 2004

How to flush the DNS cache programatically? (not using ipconfig/flushdns ?)

Bruce Christensen -May 22, 2004

dnscmd /clearcache clears the DNS server cache. ipconfig /flushdns clears the local resolver cache. Even on a server, those two things are different.

Anonymous User -March 15, 2005

didn't work for me C:\>ipconfig/flushdns Windows IP Configuration Could not flush the DNS Resolver Cache: Functio C:\>ipconfig/displaydns Windows IP Configuration Could not display the DNS Resolver Cache.

devilschild -November 01, 2008
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement