The DNSSRV_QUERY2_STATS structure contains DNS server statistics related to query processing by type. This structure MUST be formatted as follows:
| 0
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 1 0
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 2 0
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 3 0
| 1
|
|---|
| Header |
| ... |
| TotalQueries |
| Standard |
| Notify |
| Update |
| TKeyNego (optional) |
| TypeA |
| TypeNs |
| TypeSoa |
| TypeMx |
| TypePtr |
| TypeSrv |
| TypeIxfr |
| TypeAxfr |
| TypeOther |
Header (8 bytes): A structure of type DNSSRV_STAT_HEADER (section 2.2.10.2.1).
TotalQueries (4 bytes): The total number of queries received by the server.
Standard (4 bytes): The number of standard DNS queries received by the server. [RFC1034]
Notify (4 bytes): The number of zone notification requests received by the server.
Update (4 bytes): The number of dynamic update requests received by the server.
TKeyNego (4 bytes): The number of TKEY [RFC2930] negotiation requests received by the server. This field SHOULD <17> be present. A client can tell whether the field is present based on the size of the buffer holding this structure.
TypeA (4 bytes): The number of queries received for record type DNS_TYPE_A.
TypeNs (4 bytes): The number of queries received for record type DNS_TYPE_NS.
TypeSoa (4 bytes): The number of queries received for record type DNS_TYPE_SOA.
TypeMx (4 bytes): The number of queries received for record type DNS_TYPE_MX.
TypePtr (4 bytes): The number of queries received for record type DNS_TYPE_PTR.
TypeSrv (4 bytes): The number of queries received for record type DNS_TYPE_SRV.
TypeAll: The number of queries received for record type DNS_TYPE_ALL.
TypeIxfr (4 bytes): The number of queries received for record type DNS_TYPE_IXFR.
TypeAxfr (4 bytes): The number of queries received for record type DNS_TYPE_AXFR.
TypeOther (4 bytes): The number of queries received for any other record type not mentioned above.