Clearing DNS Server Statistics

DNS Manager displays statistics about the traffic received on the computer running Microsoft DNS server. These statistics are automatically started and displayed in the right pane of DNS Manager after you add a server and create at least one zone on that server. By default, these statistics are cumulative and are not normally cleared until the computer running Microsoft DNS server is stopped.

You can use the dnsstat.exe utility provided in the Windows NT Server version 4.0 Resource Kit to clear the statistics without stopping the Microsoft DNS server.

This command-line utility provides a dump of statistics about traffic received on a computer running Microsoft DNS server. You can also use dnsstat to clear these statistics without stopping the DNS server. By default, these statistics are cumulative and are not normally cleared until the computer running Microsoft DNS server is stopped.

dnsstat syntax

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

Where servername returns all DNS server statistics on the server named servername. IP address returns all DNS server statistics on the server with the IP address indicated. The options -c or /c or -clear or /clear clear clearable DNS statistics on the server indicated.

To clear the Microsoft DNS server statistics by using the dnsstat command

1. Click Start, and then click Run.

2. In Open, type dnsstat <servername> -c or dnstat <servername> /c, and then click OK.

This will reset the value the DNS statistics to zero. Open DNS Manager to verify that the statistics have been cleared and restarted.

For detailed information about using this utility, see Resource Kit Tools Help.