Partager via


DnsServerZoneQueryStatistics class

Manages zone query statistics for the specified record type.

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 DnsServerZoneQueryStatistics
{
  string RecordType;
  uint64 QueriesResponded;
  uint64 QueriesReceived;
  uint64 QueriesFailure;
  uint64 QueriesNameError;
};

Members

The DnsServerZoneQueryStatistics class has these types of members:

Properties

The DnsServerZoneQueryStatistics class has these properties.

QueriesFailure

Data type: uint64

Access type: Read-only

The number of query responses that indicated server failures.

QueriesNameError

Data type: uint64

Access type: Read-only

The number of query responses that indicated a name error.

QueriesReceived

Data type: uint64

Access type: Read-only

The number of queries received for record type.

QueriesResponded

Data type: uint64

Access type: Read-only

The number of query responses sent for record type.

RecordType

Data type: string

Access type: Read-only

The type of record for which to manage zone query statistics.

The possible values are.

A ("ZONE_STATS_TYPE_RECORD_A")

AAAA ("ZONE_STATS_TYPE_RECORD_AAAA")

PTR ("ZONE_STATS_TYPE_RECORD_PTR")

CNAME ("ZONE_STATS_TYPE_RECORD_CNAME")

MX ("ZONE_STATS_TYPE_RECORD_MX")

AFSDB ("ZONE_STATS_TYPE_RECORD_AFSDB")

ATMA ("ZONE_STATS_TYPE_RECORD_ATMA")

DHCID ("ZONE_STATS_TYPE_RECORD_DHCID")

DNAME ("ZONE_STATS_TYPE_RECORD_DNAME")

HINFO ("ZONE_STATS_TYPE_RECORD_HINFO")

ISDN ("ZONE_STATS_TYPE_RECORD_ISDN")

MG ("ZONE_STATS_TYPE_RECORD_MG")

MB ("ZONE_STATS_TYPE_RECORD_MB")

MINFO ("ZONE_STATS_TYPE_RECORD_MINFO")

NAPTR ("ZONE_STATS_TYPE_RECORD_NAPTR")

NXT ("ZONE_STATS_TYPE_RECORD_NXT")

KEY ("ZONE_STATS_TYPE_RECORD_KEY")

MR ("ZONE_STATS_TYPE_RECORD_MR")

RP ("ZONE_STATS_TYPE_RECORD_RP")

RT ("ZONE_STATS_TYPE_RECORD_RT")

SRV ("ZONE_STATS_TYPE_RECORD_SRV")

SIG ("ZONE_STATS_TYPE_RECORD_SIG")

TEXT ("ZONE_STATS_TYPE_RECORD_TEXT")

WKS ("ZONE_STATS_TYPE_RECORD_WKS")

X25 ("ZONE_STATS_TYPE_RECORD_X25")

DNSKEY ("ZONE_STATS_TYPE_RECORD_DNSKEY")

DS ("ZONE_STATS_TYPE_RECORD_DS")

NS ("ZONE_STATS_TYPE_RECORD_NS")

SOA ("ZONE_STATS_TYPE_RECORD_SOA")

ALL ("ZONE_STATS_TYPE_RECORD_ALL")

OTHERS ("ZONE_STATS_TYPE_RECORD_OTHERS")

Requirements

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

See also

DnsServerPSProvider Provider