Apache CloudStack 4.23.0.0 Root Admin API Reference

addDnsServer

Adds a new external DNS server

Request parameters

Parameter NameDescriptionRequired
dnsapikeyAPI key or token for the DNS providertrue
nameName of the DNS servertrue
nameserversComma separated list of name servers; used to create NS records for the DNS Zone (for example, ns1.example.com, ns2.example.com)true
providerProvider type (e.g., PowerDNS)true
urlAPI URL of the providertrue
detailsDetails in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].pdnsServerId=localhostfalse
dnsusernameUsername or email associated with the DNS provider account (used for authentication)false
ispublicWhether this DNS server can be used by accounts other than the owner to create and manage DNS zonesfalse
portPort number of the external DNS serverfalse
publicdomainsuffixDomain suffix that restricts DNS zones created by non-owner accounts to subdomains of this suffix (for example, sub.example.com under example.com)false

Response Tags

Response NameDescription
idID of the DNS server
accountthe account associated with the DNS server
domainthe name of the domain associated with the DNS server
domainidthe ID of the domain associated with the DNS server
ispublicIs the DNS server publicly available
nameName of the DNS server
nameserversName servers entries associated to DNS server
portThe port of the DNS server
providerThe provider type of the DNS server
publicdomainsuffixThe public domain suffix for the DNS server
stateThe state of the account
urlURL of the DNS server API