Apply DNS records
apply_dns_recordsReplace the DNS records of a domain name of this project. Use when the person asked to change the DNS of a domain bought at Galon and confirmed the full new set. Before: read_dns_records (needs domain dns_read access), then show the person the full new set and get their confirmation. Returns a job; its result (get_job, needs job read access) holds the applied records. Scope: domain:dns_write. Replaces every record. Cost: free.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "replace",
"domain": "acme-shop.com",
"confirm": "acme-shop.com",
"records": [
{
"ttl": 3600,
"name": "@",
"type": "A",
"value": "203.0.113.10"
},
{
"name": "@",
"type": "MX",
"value": "mx.galon.email",
"priority": 10
}
],
"idempotency_key": "dns-apply-acme-shop-1"
},
"name": "apply_dns_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Always replace: the records sent become the full set. | |
| domain | Yes | Domain name, e.g. acme.com | |
| confirm | Yes | The exact domain name, typed again by the person as confirmation. | |
| records | Yes | The FULL set of records after the change (the previous set is replaced). | |
| idempotency_key | Yes | Unique per request. Reuse it on retry. |