workspaces_domains_fix_dns_create
Re-dispatch DNS setup for a managed domain.
For email-provisioned domains: regenerates DKIM, upserts MX/SPF/DMARC. For domains with redirect_url: creates/updates A/AAAA records pointing to the redirect proxy. Resets the verification cooldown.
Method: POST /api/v1/workspaces/{workspace_sqid}/domains/{sqid}/fix-dns/
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": {
"sqid": "<sqid>",
"name": "<name>"
},
"name": "workspaces_domains_fix_dns_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| sqid | Yes | ||
| redirect_url | No | Target URL for the domain redirect landing page. | |
| dkim_selectors | No | Custom DKIM selectors to check (e.g. ['fm1', 'fm2']). When empty, a default list of common selectors is used. | |
| link_subdomain | No | External domains only: the subdomain (default `links`) to point at the redirect proxy so the domain serves its own email links. Changing it resets `link_host_ready`; run verify after updating DNS. | |
| redirect_title | No | Title shown on the redirect landing page. Falls back to workspace name if blank. |