update_system_dns
Update pfSense system DNS settings by providing new server IPs, switching to local or remote resolution, and applying changes immediately.
Instructions
Update system DNS server settings
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": "update_system_dns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dnsserver | No | Array of DNS server IP addresses (e.g., ["8.8.8.8", "1.1.1.1"]) | |
| dnslocalhost | No | DNS resolution behavior — 'local' (use only the local resolver, 127.0.0.1) or 'remote' (use only the remote servers). Omit to leave the current behavior unchanged. | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||