Adds DNS zones. When using addZone(), you can use . (dot) characters to create the top level domain and subzones.
Output / Response
Returns the object ID for the new DNS zone.
API Call:
long addZone( long parentId, String
absoluteName, String properties
)
Parameter | Description |
---|---|
parentId | The object ID for the parent object to which the zone is being added. For top-level domains, the parent object is a DNS view. For sub zones, the parent object is a top-level domain or DNS zone. |
absoluteName | The complete FQDN for the zone with no trailing dot (for example, example.com). |
properties | Adds object properties, including a flag for deployment, an optional
network template association, and user-defined fields in the
format:deployable=<true|false>|template=<template id>|<userField>=<userFieldValue>The deployable flag is false by default and is optional. To make the zone deployable, set the deployable flag to true. |