3.1.1.1.7.2.1 AddOrUpdateAddressDNSReverseLookup
This procedure can be used to update the forward lookup DNS zone mapping for an IP address. The following are the input parameters for this procedure.
Param_addressfamily: This specifies the simple table within the ADM_AddressDNSReverseLookupTable against which the processing steps of the procedure are to be performed.
Param_addressId: This is the RecordId of the address object for which the row specifies the reverse lookup registration information.
Param_dnsZoneId: The RecordId of the zone under which the reverse-lookup registration of the address is done. This is the record identifier of the zone in ADM_DNSReverseLookupTable.
Param_serverDnsZoneId: This is the RecordId of the entry in the ADM_DNSServerReverseLookupZoneTable specifying the server on which the zone with zone record identifier Param_dnsZoneId is present, against which the address is registered.
Param_recordId: This is the RecordId of the row in ADM_AddressDNSReverseLookupTable that has to be updated. This will not be specified if the row is to be newly added.
The output of this procedure is the Result_recordId specifying the RecordId of the newly added row or the RecordId of the row updated.
The following are the steps involved.
Select the simple table based on Param_addressfamily for the ADM_AddressDnsReverseLookupTable on which the processing has to be done.
If Param_recordId is present, the existing row in the table is to be modified. Otherwise a new row has to be inserted. The following are the data assignments to be performed in either case.
Assign Param_addressId to AddressRecordId.
Assign Param_dnsZoneId to DNSZoneRecordID.
Assign Param_serverDnsZoneId to DNSServerRecordID.
If the row has been newly added assign Result_recordId with the RecordId of the newly added row.