List DNS zones
list_dns_zonesYour DNS zones, paginated with page and per_page (up to 200), each with its provider, record count, tags and delegation state. Filter with search, credential, tag or status (active, stale, drift for zones whose live DNS disagrees with InfraNest — their nameservers or records —, outside for zones with edits made directly at the DNS provider that nobody has kept or undone yet, or security) and sort with sort (zone, provider, records, synced) and dir; meta.counts holds the totals. Each zone’s outside_changes counts its undecided edits made at the provider. Drift is not an edit at the provider: each zone's outside_changes counts those, and dns_outside_changes lists them.
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": "list_dns_zones"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only things with this tag id. | |
| page | No | Page number, from 1. | |
| search | No | Matches the zone name. | |
| status | No | drift: live DNS disagrees with InfraNest (nameservers or records); outside: edits made directly at the DNS provider nobody has kept or undone; security: a DNS security finding. | |
| per_page | No | Rows per page, up to 200 (default 25). | |
| organization_id | No | The organization to read. Leave it out when the token reaches only one. |