Apache CloudStack 4.23.0.0 Root Admin API Reference

createDnsRecord

Creates a DNS record directly on the provider

Request parameters

Parameter NameDescriptionRequired
contentsThe content of the record (IP address for A/AAAA, FQDN for CNAME/NS, quoted string for TXT, etc.)true
dnszoneidID of the DNS zonetrue
nameDNS record nametrue
typeDNS record type (e.g., A, AAAA, CNAME, MX, TXT, etc.)true
ttlTime to livefalse

Response Tags

Response NameDescription
contentsThe contents of the record (IP address or target)
nameThe record name (e.g., www.example.com.)
ttlTime to live (TTL) in seconds
typeThe record type (e.g., A, CNAME, TXT)