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.
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 |