Add Resource Records - BlueCat Address Manager - 9.0.0

Address Manager API Guide

English (United States)
Product name
BlueCat Address Manager

This method is a generic method for adding resource records of any kind by specifying the name, type, and rdata arguments.

Output / Response

Returns the object ID for the new resource record.

API Call:

long addResourceRecord( long viewId, String absoluteName, String type, String rdata, long ttl, String properties )
Parameter Description
viewId The object ID for the parent view to which the resource record is being added.
absoluteName The absolute name of the record, specified as an FQDN. 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.
type The type of record being added. Valid values for this parameter are the resource record types shown in Object Types:
  • AliasRecord
  • HINFORecord
  • HostRecord
  • MXRecord
  • TXTRecord
Note: To add NAPTRRecord, SRVRecord and GenericRecord, you must use addNAPTRRecord(), add SRVRecord() and addGenericRecord() methods respectively.
rdata The data for the resource record in BIND format (for example, for A records, A You can specify either a single IPv4 or IPv6 address for the record.
ttl The time-to-live value for the record. To ignore the ttl, set this value to -1.
properties Adds object properties, including user-defined fields.