Adds Generic records.
Output / Response
Returns the object ID for the new generic resource record.
API call:
long addGenericRecord (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 record is being added. |
absoluteName | The FQDN of the 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. |
type | The type of record being added. Valid settings for this parameter are the generic resource record types supported in Address Manager: A, A6, AAAA, AFSDB, APL, CAA, CERT, DHCID, DNAME, DNSKEY, DS, ISDN, KEY, KX, LOC, MB, MG, MINFO, MR, NS, NSAP, PX, RP, RT, SINK, SSHFP, TLSA, WKS, and X25. |
rdata | The data for the resource record in BIND format (for example, for A records, 10.0.0.4). |
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. |