List DNS Zones
hestia_list_dns_domainsLists DNS zones managed by a HestiaCP user with SOA, NS, template, and serial metadata, helping discover zones before inspecting records or auditing DNS alignment.
Instructions
List DNS zones managed by a HestiaCP user with SOA, NS, template, and serial metadata via v-list-dns-domains. Use when discovering DNS zones for a user; prefer hestia_list_dns_records to inspect records inside a specific zone or hestia_dns_alignment_audit (serverops) to compare live public DNS against local zones. Returns { ok, targetId, command, data (map keyed by DNS domain) }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user": "<user>"
},
"name": "hestia_list_dns_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | HestiaCP account username. | |
| targetId | No | Configured target identifier (defaults to "default"). |