dns__CreateRecordSetWithBatchLines
Create DNS record sets across multiple resolution lines in one atomic batch for public domains; if any parameter fails validation, no records are created.
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": {
"lines": "<lines>",
"name": "<name>",
"type": "<type>",
"zone_id": "<zone_id>"
},
"name": "dns__CreateRecordSetWithBatchLines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 域名,后缀需以zone name结束且为FQDN(即以“.”号结束的完整主机名)。 | |
| type | Yes | 记录集的类型。 取值范围:A,AAAA,MX,CNAME,TXT,NS,SRV,CAA。 | |
| lines | Yes | 解析线路域名参数。最多支持50个。 | |
| zone_id | Yes | 域名ID。 | |
| description | No | 可选配置,对域名的描述。 长度不超过255个字符。 |