DNS zone
get_dns_zoneRecords of a domain's DNS zone at Hodi (domains registered at Hodi, and domains on a Hodi hosting). in_use says whether the internet reads this zone: true = the domain's public name servers (public_nameservers) are Hodi's, so these records ARE the ones in use (say so plainly, no hedging); false = the domain points to other name servers, these records are ignored and changing them does nothing; null = public DNS could not be read. line_index identifies a record for update_dns_records. Web redirects are listed apart in redirects; the records that implement them are flagged part_of_redirect (change them with set_redirect). A zone can hold hundreds of records: when you know what you are looking for, filter with type and/or name.
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": {
"zone": "<zone>"
},
"name": "get_dns_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Only the records of this host: "@" for the apex, a label relative to the zone ("www", "_dmarc"), or a full name. | |
| type | No | Only these record types, e.g. ["MX", "TXT"]. | |
| zone | Yes | The domain, e.g. example.com. | |
| service_id | No | Only for a domain added to a hosting account but registered elsewhere: the hosting service it was added to. Not needed for a domain registered at Hodi or for a hosting's main domain. |