getDnsServers
Lists DNS servers with pagination and optional filters by name, ID, or account to retrieve server inventories for DNS management.
Instructions
Lists DNS servers
Lists DNS servers according to the specified parameters. By default there is at least one default server. Response is paginated, items are arranged in the newest-first order. For the initial request a default limit is applied if not specified. For the subsequent requests cursor must be provided (limit can be omitted). Filtering parameters, if specified for the initial request, must be provided on each page request as well.
Calls GET /oapi/v2/dns_servers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getDnsServers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Pagination limit (may be overridden by cursor) (default: 10) | |
| cursor | No | Pagination cursor | |
| search | No | Search by DNS server name or ID | |
| dns_servers | No | Filter by DNS servers | |
| X_Account_Id | No | Optional ID of the account to operate on. Defaults to the authenticated user's own account. Use GET /oapi/v1/accounts to list available accounts. |