3.1.1.1.52.2.1 GetDnsConditionalForwarderFromTable

The GetDnsConditionalForwarderFromTable procedure retrieves the DnsConditionalForwarder (section 2.2.4.177) for the specified record identifier.

It uses the following input parameter.

Param_Id: The RecordId of the DNS conditional forwarder for which the DnsConditionalForwarder data is being requested.

The following is the output parameter.

Result_conditionalForwarder: The DnsConditionalForwarder corresponding to the specified record identifier.

The following processing steps are performed:

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

  2. Initialize Result_conditionalForwarder to DnsConditionalForwarder and assign the following values.

    1. Assign Name to Result_conditionalForwarder.Name.

    2. Assign RecordId to Result_conditionalForwarder.RecordId.

    3. Assign ServerRoleId to Result_conditionalForwarder.DnsServerId.

    4. Copy the DnsConditionalForwarderDetails to Result_conditionalForwarder.

  3. Call GetAccessScopeForObjectIdAndType of ADM_AccessScopeAssociationTable passing the following parameters:

    1. Param_objectId is set to Param_Id.

    2. Param_objectType is set to IpamObjectType.DNSConditionalForwarder.

    3. Param_accessScopeId.

    4. Param_objectInheritanceStatus.

    5. Param_inheritanceId.

  4. Assign Param_accessScopeId to Result_conditionalForwarder.AccessScopeId.

  5. Assign Param_objectInheritanceStatus to Result_conditionalForwarder.IsInheritedAccessScope.

  6. Return Result_conditionalForwarder as the output parameter of this procedure.