Add SRV Record - BlueCat Address Manager - 9.0.0

Address Manager API Guide

English (United States)
Product name
BlueCat Address Manager

Adds SRV records.

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

Output / Response

Returns the object ID for the new SRV record.

API call:

long addSRVRecord ( long viewId, String absoluteName, int priority, int port, int weight, String linkedRecordName, long ttl, String properties )
Parameter Description
viewId The object ID for the parent view to which the SRV record is being added.
absoluteName The FQDN of the SRV 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.
priority Specifies which SRV record to use when multiple matching SRV records are present. The record with the lowest value takes precedence.
port The TCP/UDP port on which the service is available.
weight If two matching SRV records within a zone have equal priority, the weight value is checked. If the weight value for one object is higher than the other, the record with the highest weight has its resource records returned first.
linkedRecordName The FQDN of the host record to which this SRV record is linked.
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.