Edit DNS record
edit_dns_recordReplace the value of one existing DNS record; its type, name and TTL stay. The old value is overwritten without undo, so note it from list_dns_records if it may need to come back. Take recordId from a list_dns_records call made just before: it is the record's position in the zone and shifts when records are added or removed. To change the type or name, delete the record and add a new one. Resolvers can keep the old value up to the record's TTL.
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": {
"id": "<id>",
"recordId": "<recordId>",
"data": "<data>"
},
"name": "edit_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The domain ID | |
| data | Yes | New value, in the format the record's type expects (an IP for A, a hostname for CNAME, the text for TXT) | |
| recordId | Yes | recordId from a list_dns_records call made just before this one |