Clear the DNS server names cache

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

You can perform this procedure by using the DNS snap-in or by using the Dnscmd command-line tool.

Clearing the DNS server names cache

  • Using the Windows interface

  • Using the command line

To clear the DNS server names cache using the Windows interface

  1. Open the DNS snap-in.

  2. In the console tree, click the applicable Domain Name System (DNS) server.

  3. On the Action menu, click Clear Cache.

Note

To open the DNS snap-in, click Start, point to Administrative Tools, and then click DNS.

To clear the DNS server names cache using the command line

  • At a command prompt, type the following, and then press ENTER:

    dnscmd ServerName /clearcache

    Value Description

    ServerName

    Specifies the DNS host name of the DNS server. You can also type the Internet Protocol (IP) address of the DNS server. To specify the DNS server on the local computer, you can also type a period (.)