Share via


3.5.4.8.1.30 DnsResourceRecordEnumerationParameters

The DnsResourceRecordEnumerationParameters processing is done when the EnumInputParameters contains data of type DnsResourceRecordEnumerationParameters. The ObjectType MUST be EnumerationObjectType.DnsResourceRecord. This is used to retrieve all the Dns resource record data associated with a Dns zone specified in DnsResourceRecordEnumerationParameters.ZoneId.

The following steps identify the rows to be returned as a part of the enumeration:

  1. If DnsResourceRecordEnumerationParameters.ZoneType is ZoneLookupType.DNSForwardLookupZone, enumerate all records from ADM_DNSResourceRecordTable where the DnsForwardLookupZoneId matches the DnsResourceRecordEnumerationParameters.ZoneId.

  2. If DnsResourceRecordEnumerationParameters.ZoneType is ZoneLookupType.DNSReverseLookupZone, enumerate all records from ADM_DNSResourceRecordTable where the DnsReverseLookupZoneId matches the DnsResourceRecordEnumerationParameters.ZoneId.

  3. Add all the entries from the above step in Param_resourceRecordCollection to EnumOutputData.