Apache CloudStack 4.23.0.0 Root Admin API Reference

createDnsZone

Creates a new DNS Zone on a specific server

Request parameters

Parameter NameDescriptionRequired
dnsserveridThe ID of the DNS server to host this zonetrue
nameThe name of the DNS zone (e.g. example.com)true
descriptionThe description of the DNS zonefalse
existingIf true, imports an existing DNS zone from the DNS provider into CloudStack. If false, creates the zone in the DNS provider and registers it in CloudStack. Default is falsefalse
typeThe type of zone (Public, Private). Defaults to Public.false

Response Tags

Response NameDescription
idID of the DNS zone
accountthe account associated with the DNS zone
descriptionDescription for the DNS zone
dnsserveraccountthe account name of the DNS server owner
dnsserveridID of the DNS server this zone belongs to
dnsservernamethe name of the DNS server hosting this zone
domainthe name of the domain associated with the DNS zone
domainidthe ID of the domain associated with the DNS server
nameName of the DNS zone
networkidID of the network this zone is associated with
networknameName of the network this zone is associated with
stateThe state of the zone (Active/Inactive)
typeThe type of the zone (Public/Private)