Export (0) Print
Expand All

Clear server names cache

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

You can use the following procedure to clear the server names cache. You can perform this procedure by using the DNS snap-in or by using the Dnscmd command-line tool.

Administrative credentials

To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using the Run as command to perform this procedure.

Clearing the server names cache

To clear the server names cache using the Windows interface
  1. Open the DNS snap-in.

  2. In the console tree, click the applicable DNS server.

    Where?

    • DNS/applicable DNS server

  3. On the Action menu, click Clear Cache.

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

To clear the server names cache using the command line
  • At a command prompt, type the following command, and then press ENTER:

    dnscmd ServerName /clearcache

     

    Value Description

    ServerName

    Required. Specifies the Domain Name System (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 (.).

    /clearcache

    Clears the DNS server cache.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft