Add Host Record - BlueCat Address Manager - 8.3.0

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
8.3.0

Adds host records for IPv4 or IPv6 addresses. All addresses must be valid addresses.

This method will add the record under a zone. In order to add records under templates, you must use Add Entity for Resource Records.

When adding a host record, the reverseRecord property, if not explicitly set in the properties string, is set to true and Address Manager creates a reverse record automatically. IPv4 addresses can be added in both workflow and non-workflow mode. IPv6 addresses can be added in non-workflow mode only. For more information on workflow mode, see Workflow Change Requests.

Output / Response

Returns the object ID for the new host resource record.

API call:

long addHostRecord ( long viewId, String absoluteName, String addresses, long ttl, String properties)
Parameter Description
viewId The object ID for the parent view to which this record is being added.
absoluteName The FQDN for the host record. If you are adding a record in a zone that is linked to a incremental Naming Policy, a single hash (#) sign must be added at the appropriate location in the FQDN. Depending on the policy order value, the location of the single hash (#) sign varies.
addresses A list of comma-separated IP addresses (for example, 10.0.0.5,130.4.5.2).
ttl The time-to-live value for the record. To ignore the ttl, set this value to -1.
properties Adds object properties, including comments and user-defined fields.