Set Dns Config
set_dns_configConfigure primary and secondary DNS servers and toggle DNS caching on iKuai routers to control how network devices resolve domain names.
Instructions
修改 DNS 配置
实测:dns 只接受 TYPE=all,用 TYPE=data 会得到 2007。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_dns_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| primary_dns | No | ||
| enable_cache | No | ||
| secondary_dns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||