2.2.10.2.19 DNSSRV_RECORD_STATS

The DNSSRV_RECORD_STATS structure has DNS server statistics related to record usage. 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

...

InUse

Used

Return

Memory

CacheTotal

CacheCurrent

CacheTimeouts

SlowFreeQueued

SlowFreeFinished

Header (8 bytes): A structure of type DNSSRV_STAT_HEADER (section 2.2.10.2.1).

InUse (4 bytes): The number of resource records currently allocated by the server.

Used (4 bytes): The cumulative number of resource records allocated by the server.

Return (4 bytes): The cumulative number of resource records freed by the server.

Memory (4 bytes): The amount of memory, in bytes, currently allocated for resource records by the server.

CacheTotal (4 bytes): The cumulative number resource records cached by the server.

CacheCurrent (4 bytes): The number of resource records currently cached by the server.

CacheTimeouts (4 bytes): The cumulative number of resource records that have been freed from the DNS server's cache.

SlowFreeQueued (4 bytes): Some cached record types, such as NS and SOA, are not immediately freed to the pool of allocated records, instead they are placed in a timeout queue and returned after this timeout expires. This is the cumulative count of such slow-free records that have been entered into the timeout queue.

SlowFreeFinished (4 bytes): The number of slow frees (see SlowFreeQueued above) that have been completed.