Exact DNS records to point a domain at a service
dns_recordsGet the exact DNS records that point one domain at one service from list_services, for any domain at any DNS provider: name, type, TTL and values to set, and values to remove. The domain's current records are read from public DNS, so an existing SPF is merged and an existing CAA extended, the same way pekt changes its own zones (one planner). Use it when the user must point a domain at their app, site or mail provider, or asks which records to add. Read-only: nothing changes. how_to_apply says how the records get written: by the user at their DNS provider, or by pekt after the owner approves when the domain is at pekt. blocked=true means the change would break something (see findings) and no records are given; an error with retryable=true means a lookup failed, so try again after retry_after seconds.
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": {
"domain": "<domain>",
"service": "<service>"
},
"name": "dns_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain itself, e.g. example.no (Unicode such as blåbær.no is fine). Any registrar, any DNS provider. | |
| params | No | The inputs that service needs (see list_services), copied from the provider. Omit for services with no required inputs. | |
| service | Yes | A service key from list_services, e.g. the web or mail service the user named. |