Subscribe to Windows IT Pro
December 22, 2003 12:00 AM

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

Windows IT Pro
InstantDoc ID #41229
Rating: (14)

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

Related Content:

ARTICLE TOOLS

Comments
  • amer
    4 years ago
    Nov 01, 2008

    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.

  • Anonymous User
    7 years ago
    Mar 15, 2005

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

  • Bruce Christensen
    8 years ago
    May 22, 2004

    How to flush the DNS cache programatically?

    (not using ipconfig/flushdns ?)

  • ilias
    8 years ago
    Mar 19, 2004

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

  • ilias
    8 years ago
    Mar 19, 2004

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

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.