dns__CreateCustomLine
Create a custom DNS resolution line with a unique name and IPv4 address segments to route queries by user-defined network ranges.
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": {
"ip_segments": "<ip_segments>",
"name": "<name>"
},
"name": "dns__CreateCustomLine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 解析线路名称。 长度限制为1-80个字符,只允许包含中文、字母、数字、'-'、'_'、'.'字符。 租户内,解析线路名称是唯一的。 | |
| description | No | 自定义线路的描述信息。长度不超过255个字符。 默认值为空。 | |
| ip_segments | Yes | IP地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 最多支持50个。 |