KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q154463: Clearing DNS Statistics Without Stopping DNS Server

Article: Q154463
Product(s): Microsoft Windows NT
Version(s): 4.0
Operating System(s): 
Keyword(s): kbnetwork
Last Modified: 10-AUG-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows NT Workstation version 4.0 
- Microsoft Windows NT Server version 4.0 
-------------------------------------------------------------------------------

SUMMARY
=======

Under the Domain Name System (DNS) Manager for Windows NT 4.0, there is no way
to reset the statistics without stopping and restarting the DNS Server service.

MORE INFORMATION
================

The Windows NT 4.0 Resource Kit includes a tool (DNSSTAT) that will accomplish a
reset of the statistics without stopping the DNS Server service.

This command-line utility provides a dump of DNS server statistics (queries and
responses, database size, caching, memory consumption) on a computer running
Microsoft DNS Server.

  dnsstat {servername | IP address} [{-c | /c | -clear | /clear}]

Where servername gives a dump of all DNS server statistics on the server named
servername.

IP address gives a dump of all DNS server statistics on the server with the IP
address indicated.

-c or /c or -clear or /clear will reset clearable DNS statistics on the server
indicated.

Additional query words: prodnt sur ntdns

======================================================================
Keywords          : kbnetwork 
Technology        : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT400search kbWinNTSsearch kbWinNTS400search kbWinNTS400
Version           : 4.0

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.