dns__UpdateCustomLine
Updates a DNS custom line's name, description, or IPv4 address segments by line ID, so you can adjust resolver routing without recreating the line.
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": {
"line_id": "<line_id>"
},
"name": "dns__UpdateCustomLine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 解析线路名称。 | |
| line_id | Yes | 自定义线路ID。 | |
| description | No | 自定义线路的描述信息。长度不超过255个字符。 | |
| ip_segments | No | P地址段。 以“-”分隔,小IP地址在前,大IP地址在后。IP段之间不能有交叉。当只有一个IP时,填写IP1-IP1。 目前只支持IPV4。 |