4.18 Getting Response Rate Limiting Settings

The following example describes how to enumerate the client subnet records on the DNS server.

The client calls R_DnssrvComplexOperation (section 3.1.4.3) and provides the following parameters:

  • A Unicode string containing the FQDN of the DNS server on which the client subnet records are to be enumerated.

  • NULL as the value of pszZone.

  • GetRRLInfo as the operation.

  • DNSSRV_TYPEID_NULL as the type ID.

  • NULL as the value of pDataIn.

The DNS server returns ERROR_SUCCESS if the operation is successful or a Windows error code if the operation fails. If the operation is successful, pdwTypeOut will be of type DNSSRV_TYPEID_RRL, and ppDataOut will point to a structure of type PDNS_RPC_RRL_PARAMS.