edit_dns_record
Edit an existing DNS record by specifying its line number from list_dns_records, updating the record type, TTL, and value fields.
Instructions
Edit an existing DNS record. line is the record's line number as returned by list_dns_records.
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": {
"zone": "<zone>",
"line": "<line>",
"type": "<type>"
},
"name": "edit_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| line | Yes | Line number of the record in the zone (from list_dns_records) | |
| type | Yes | Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA... | |
| zone | Yes | Domain name owning the zone | |
| fields | No | Type-specific value fields to update for this record type |