Apache CloudStack 4.23.0.0 Root Admin API Reference

listDnsServers

Lists DNS servers owned by the account.

Request parameters

Parameter NameDescriptionRequired
accountList resources by Account. Must be used with the domainId parameter.false
domainidList only resources belonging to the domain specifiedfalse
idthe ID of the DNS serverfalse
isrecursiveDefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.false
pagefalse
pagesizefalse
providertypefilter by provider type (e.g. PowerDNS, Cloudflare)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