3.1.1.1.20.2.1 GetDnsZoneEventFromTable

The GetDnsZoneEventFromTable procedure provides the DnsZoneEvent data for the row with the specified RecordId parameter.

The following input parameter is used.

Param_Id: This specifies the RecordId of the row for which the DnsZoneEvent is requested.

The procedure returns the following output parameter.

Result_event: This is the DnsZoneEvent for the RecordId specified as input parameter.

The following steps are involved:

  1. Lookup the row in ADM_DnsZoneEventsTable with RecordId equal to Param_Id.

  2. Initialize Result_event with an instance of DnsZoneEvent.

  3. Copy EventDetails from the row to Result_event.

  4. Assign RecordId to Result_event.RecordId.

  5. Assign ServerZoneId to Result_event.ServerZoneId.

  6. Call the procedure GetDnsServerZoneFromTable in ADM_DNSServerForwardLookupZoneTable passing ServerZoneId as parameter and assign Result_zone to Result_event.ServerZone.

  7. Return Result_event as the output parameter.