Apache CloudStack 4.23.0.0 Root Admin API Reference
createDnsRecord
Creates a DNS record directly on the provider
Request parameters
| Parameter Name | Description | Required |
| contents | The content of the record (IP address for A/AAAA, FQDN for CNAME/NS, quoted string for TXT, etc.) | true |
| dnszoneid | ID of the DNS zone | true |
| name | DNS record name | true |
| type | DNS record type (e.g., A, AAAA, CNAME, MX, TXT, etc.) | true |
| ttl | Time to live | false |
Response Tags
| Response Name | Description |
| contents | The contents of the record (IP address or target) |
| name | The record name (e.g., www.example.com.) |
| ttl | Time to live (TTL) in seconds |
| type | The record type (e.g., A, CNAME, TXT) |