Apache CloudStack 4.23.0.0 Root Admin API Reference
associateDnsZoneToNetwork
Associates a DNS Zone with a Network for VM auto-registration
Request parameters
| Parameter Name | Description | Required |
| dnszoneid | The ID of the DNS zone | true |
| networkid | The ID of the network | true |
| subdomain | Optional subdomain to append (e.g., 'dev' creates vm1.dev.example.com) | false |
Response Tags
| Response Name | Description |
| id | The ID of the mapping |
| dnszoneid | The ID of the DNS zone |
| networkid | The ID of the Network |
| subdomain | The sub domain name of the auto-registered DNS record |