3.1.1.1.11.2.1 GetDnsServerReverseLookupZoneFromTable

This procedure can be used to retrieve the DnsServerReverseZone data for the specified row entry in the ADM_DNSServerReverseLookupZoneTable.

The following is the input parameter to this procedure.

Param_Id: The RecordId of the row for which the DnsServerReverseZone object is required.

The following is the output parameter of this procedure.

Result_data: This is of type DnsServerReverseZone, providing the reverse lookup DNS zone hosted on a specific server referenced using Param_Id.

The following are the steps involved.

  1. Lookup the row in AMD_DNSServerReverseLookupZoneTable having the RecordId to be the value specified by Param_Id.

  2. Initialize the Result_data with the instance of DnsServerReverseZone and assign the following values to the same.

    • RecordId is assigned to Result_data.RecordId.

    • ReverseLookupZoneDetails are copied into Result_data.

    • Call the procedure GetDnsServerFromTable in ADM_DnsServersTable passing the ServerRecordId as the Param_Id input parameter. Assign the Result_DnsServer to Result_data.Server.

    • Call the procedure GetDnsReverseLookupZoneFromTable in ADM_DNSReverseLookupTable with DnsReverseZoneId passed as Param_recordId. Assign the Result_reverseLookupZone to Result_data.Zone.

  3. Return Result_data as the output parameter of this procedure.