Apache CloudStack 4.23.0.0 Root Admin API Reference
listDnsServers
Lists DNS servers owned by the account.
Request parameters
| Parameter Name | Description | Required |
| account | List resources by Account. Must be used with the domainId parameter. | false |
| domainid | List only resources belonging to the domain specified | false |
| id | the ID of the DNS server | false |
| isrecursive | Defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. | false |
| keyword | List by keyword | false |
| listall | If 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 |
| page | false | |
| pagesize | false | |
| providertype | filter by provider type (e.g. PowerDNS, Cloudflare) | false |
Response Tags
| Response Name | Description |
| id | ID of the DNS server |
| account | the account associated with the DNS server |
| domain | the name of the domain associated with the DNS server |
| domainid | the ID of the domain associated with the DNS server |
| ispublic | Is the DNS server publicly available |
| name | Name of the DNS server |
| nameservers | Name servers entries associated to DNS server |
| port | The port of the DNS server |
| provider | The provider type of the DNS server |
| publicdomainsuffix | The public domain suffix for the DNS server |
| state | The state of the account |
| url | URL of the DNS server API |