3.1.1.1.10.2.1 GetDnsServerZoneFromTable

The GetDnsServerZoneFromTable procedure can be used to retrieve the DnsServerZone information for the specified record identifier. The following is the input parameter to this procedure.

Param_Id: This specifies the RecordId of the DnsServerZone which needs to be retrieved.

The following is the output parameter of this procedure.

Result_zone: This specifies the DnsServerZone information for the specified RecordId value.

The following are the steps involved:

  1. Look up the ADM_DNSServerForwardLookupZoneTable for the row with the RecordId value equal to Param_Id.

  2. If the row is found, set Result_zone to DnsServerZone and initialize it with the following values:

  3. RecordId is assigned to Result_zone.RecordId.

  4. ForwardLookupZoneDetails are copied to Result_zone.

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

  6. Call the procedure GetDnsZoneFromTable in ADM_DNSForwardLookupTable passing the DnsZoneId as the Param_Id parameter and assigning the Result_zone to Result_zone.Zone.

  7. Return the Result_zone as the output parameter of this procedure.