dns__UpdateRecordSet
Update an existing DNS record set in Huawei Cloud DNS by modifying its records, TTL, name, type, or description within a specified zone.
Instructions
[DNS] 修改记录集。
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": {
"recordset_id": "<recordset_id>",
"zone_id": "<zone_id>"
},
"name": "dns__UpdateRecordSet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | 解析记录在本地DNS服务器的缓存时间,缓存时间越长更新生效越慢,以秒为单位。 | |
| name | No | 域名,后缀需以zone name结束且为FQDN(即以“.”号结束的完整主机名)。 | |
| type | No | 记录集的类型。 | |
| records | No | 解析记录的值。不同类型解析记录对应的值的规则不同。 | |
| zone_id | Yes | 域名ID。 | |
| description | No | 可选配置,对域名的描述。 | |
| recordset_id | Yes | 记录集ID。 |