Add Entity for DNS Zones - BlueCat Address Manager - 9.0.0

Address Manager API Guide

prodname
BlueCat Address Manager
version_custom
9.0.0

Adds DNS zones.

addEntity() is a generic method for adding configurations, DNS zones, and DNS resource records. When using addEntity() to add a zone, you must specify a single zone name without any . (dot) characters. The parent object must be either a DNS view or another DNS zone.

Output / Response

Returns the object ID for the new DNS zone.

API call:

long addEntity( long parentId, APIEntity entity )
Parameter Description
parentId The object ID of the parent DNS view or DNS zone to which the zone is added.
entity The zone name, without any . (dot) characters, to be added.