Update Domain DNS Record
update_domain_dns_recordReplace a DNS record (name, content, ttl, priority/weight/port). The record type cannot change: delete the record and create a new one instead. Requires confirm=true. Requires an active ZapX Pass (see server instructions).
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": {
"domainId": "<domainId>",
"recordId": "<recordId>",
"type": "<type>",
"content": "<content>"
},
"name": "update_domain_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL in seconds (default 3600, min 60). | |
| name | No | Record name relative to the domain: '@' (default) for the domain itself, 'www', '_acme-challenge', ... | |
| port | No | SRV port. | |
| type | Yes | Record type. | |
| weight | No | SRV weight. | |
| confirm | No | Must be true to apply the change. | |
| content | Yes | Record value (IP address, hostname, TXT text, ...). | |
| domainId | Yes | Domain id (from list_domains or list_account_services). | |
| priority | No | MX/SRV priority. | |
| recordId | Yes | Record id from get_domain_dns_records. |