Share via


DnsServerQueryStatistics class

Represents query statistics for a DNS server.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DnsServerPSProvider"), AMENDMENT]
class DnsServerQueryStatistics
{
  uint32 UdpQueries;
  uint32 UdpResponses;
  uint32 UdpQueriesSent;
  uint32 UdpResponsesReceived;
  uint32 TcpClientConnections;
  uint32 TcpQueries;
  uint32 TcpResponses;
  uint32 TcpQueriesSent;
  uint32 TcpResponsesReceived;
};

Members

The DnsServerQueryStatistics class has these types of members:

Properties

The DnsServerQueryStatistics class has these properties.

TcpClientConnections

Data type: uint32

Access type: Read-only

The number of TCP connections accepted by the server.

TcpQueries

Data type: uint32

Access type: Read-only

The number of queries received over TCP.

TcpQueriesSent

Data type: uint32

Access type: Read-only

The number of queries sent over TCP by the server to remote servers.

TcpResponses

Data type: uint32

Access type: Read-only

The number of query responses sent over TCP.

TcpResponsesReceived

Data type: uint32

Access type: Read-only

The number of query responses over TCP that were received by the server.

UdpQueries

Data type: uint32

Access type: Read-only

The number of queries received over UDP.

UdpQueriesSent

Data type: uint32

Access type: Read-only

The number of queries sent over UDP by the server to remote servers.

UdpResponses

Data type: uint32

Access type: Read-only

The number of query responses sent over UDP.

UdpResponsesReceived

Data type: uint32

Access type: Read-only

The number of query responses received over UDP by the server.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

DnsServerPSProvider Provider