3.1.1.1.18.2.1 GetDnsServerFromTable
This procedure can be used to retrieve the DnsServer instance from the ADM_DnsServersTable. It takes the following input parameter:
Param_Id: The RecordId of the DNS server in ADM_DnsServersTable for which the information is being requested.
The procedure returns the following output parameter:
Result_DnsServer: This is of type DnsServer specifying the DNS server information.
The following are the steps involved:
Lookup ADM_DnsServersTable for the row with RecordId being Param_Id.
If the row doesn't exist, initialize Result_DnsServer to null and return.
Copy the DNSServerHealthDetails to Result_DnsServer.
Call the procedure GetServerRoleInfoFromTable in ADM_ServerRolesTable by passing RecordId as Param_Id. Assign the Result_serverRole to Result_DnsServer.ServerRoleInfo.
Return Result_serverRole as the output of the procedure.