3.3.4.86 GetMappableReverseLookupZonesForRange
The GetMappableReverseLookupZonesForRange operation retrieves the list of reverse lookup zones that can be mapped to the IP range.
-
<wsdl:operation name="GetMappableReverseLookupZonesForRange"> <wsdl:input wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetMappableReverseLookupZonesForRange" message="ipam:IIpamServer_GetMappableReverseLookupZonesForRange_InputMessage" /> <wsdl:output wsaw:Action="http://Microsoft.Windows.Ipam/IIpamServer/GetMappableReverseLookupZonesForRangeResponse" message="ipam:IIpamServer_GetMappableReverseLookupZonesForRange_OutputMessage" /> </wsdl:operation>
Upon receiving the IIpamServer_GetMappableReverseLookupZonesForRange_InputMessage request message, the server performs the following processing steps. Upon successful completion of these steps, the server responds with the IIpamServer_GetMappableReverseLookupZonesForRange_OutputMessage message. In the event of a failure, an appropriate SOAP fault MUST be sent to the client as specified in section 2.2.2.1:
If GetMappableReverseLookupZonesForRange.range is NULL or GetMappableReverseLookupZonesForRange.range.StartIPAdddress is NULL or GetMappableReverseLookupZonesForRange.range.EndIPAdddress is NULL, an appropriate SOAP fault MUST be generated.
Iterate through all the rows in ADM_DNSReverseLookupTable and put all the rows that statisfy the criteria not(StartIP > GetMappableReverseLookupZonesForRange.range.EndIPAdddress or EndIP < GetMappableReverseLookupZonesForRange.range.startIPAdddress) in a temporary variable temp_dnsReverseZones.
For all the elements in temp-dnsReverseZones, call the procedure GetDnsReverseLookupZoneFromTable on ADM_DNSReverseLookupTable with the RecordId of the element as the input parameter. Add the output of these procedures into GetMappableReverseLookupZonesForRangeResponse.GetMappableReverseLookupZonesForRangeResult and send it as output.