Sửa bản ghi DNS
cloud_domain_dns_updateUpdate a DNS record by its record_id to change type, name, value, TTL, or priority, supporting A, AAAA, CNAME, MX, TXT, SRV, and NS records.
Instructions
Sửa 1 bản ghi DNS theo record_id (lấy từ cloud_domain_dns_list).
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": {
"domain_id": "<domain_id>",
"record_id": "<record_id>",
"type": "<type>",
"name": "<name>",
"data": "<data>"
},
"name": "cloud_domain_dns_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | TTL giây (mặc định để trống). | |
| data | Yes | Giá trị (IP cho A, hostname cho CNAME, nội dung cho TXT...). | |
| name | Yes | Tên bản ghi ("@" cho gốc, "www", "api"...). | |
| type | Yes | Loại bản ghi. | |
| priority | No | Ưu tiên (MX/SRV). | |
| domain_id | Yes | ||
| record_id | Yes |