Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

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

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

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