Partager via


DnsServerErrorStatistics class

DNS server statistics related to the different types of errors returned by the 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 DnsServerErrorStatistics
{
  uint32 NoError;
  uint32 FormError;
  uint32 ServFail;
  uint32 NxDomain;
  uint32 NotImpl;
  uint32 Refused;
  uint32 YxDomain;
  uint32 YxRRSet;
  uint32 NxRRSet;
  uint32 NotAuthoritative;
  uint32 NotZone;
  uint32 Max;
  uint32 BadSig;
  uint32 BadKey;
  uint32 BadTime;
  uint32 UnknownError;
};

Members

The DnsServerErrorStatistics class has these types of members:

Properties

The DnsServerErrorStatistics class has these properties.

BadKey

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error 0x00000011 due to a bad key being present in the query.

BadSig

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error 0x00000010 due to a bad signature being present in the query.

BadTime

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error 0x00000012 due to a bad time stamp being present in the query.

FormError

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000001 due to a malformed query.

Max

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned an error code 0x0000000F which is larger than 4 bits and the server needed to introduce the OPT field in the response packet.

NoError

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned success 0x00000000 and query was successfully responded to.

NotAuthoritative

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000009 due to the server not being authoritative for the zone.

NotImpl

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000004 due to unimplemented functionality.

NotZone

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error 0x0000000A due to the requested zone not being found.

NxDomain

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned a name error code 0x00000003.

NxRRSet

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000008, because the requested resource record did not exist.

Refused

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000005 due to policy restrictions.

ServFail

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000002 due to a failure in query processing at server.

UnknownError

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned an error code that was caused by any other reason than those listed above.

YxDomain

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000006 due to a domain not being found.

YxRRSet

Data type: uint32

Access type: Read-only

The number of occurrences where the server returned error code 0x00000007 due to the unexpected existence of a resource record.

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