Apache CloudStack 4.23.0.0 Root Admin API Reference
createDnsZone
Creates a new DNS Zone on a specific server
Request parameters
| Parameter Name | Description | Required |
| dnsserverid | The ID of the DNS server to host this zone | true |
| name | The name of the DNS zone (e.g. example.com) | true |
| description | The description of the DNS zone | false |
| existing | If 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 false | false |
| type | The type of zone (Public, Private). Defaults to Public. | false |
Response Tags
| Response Name | Description |
| id | ID of the DNS zone |
| account | the account associated with the DNS zone |
| description | Description for the DNS zone |
| dnsserveraccount | the account name of the DNS server owner |
| dnsserverid | ID of the DNS server this zone belongs to |
| dnsservername | the name of the DNS server hosting this zone |
| domain | the name of the domain associated with the DNS zone |
| domainid | the ID of the domain associated with the DNS server |
| name | Name of the DNS zone |
| networkid | ID of the network this zone is associated with |
| networkname | Name of the network this zone is associated with |
| state | The state of the zone (Active/Inactive) |
| type | The type of the zone (Public/Private) |