router_set_dns
Configures custom DNS servers on a router's WAN connection to control DNS resolution, with an optional force flag to bypass Network Guard safety checks.
Instructions
Configures custom DNS resolvers on the router's WAN connection.
Args: primary_dns: Primary DNS IP (e.g. '8.8.8.8' for Google DNS, '1.1.1.1' for Cloudflare). secondary_dns: Secondary DNS IP (default '8.8.8.8'). force: Set to True to bypass Network Guard safety check.
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": {
"primary_dns": "<primary_dns>"
},
"name": "router_set_dns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| primary_dns | Yes | ||
| secondary_dns | No | 8.8.8.8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |