Set DNS configuration (unified)
tailscale_set_dns_configurationSet a tailnet's unified DNS configuration in one call, replacing nameservers, search paths, split DNS, and MagicDNS settings. Include every field to keep because omitted fields may be cleared.
Instructions
Set the unified DNS configuration for your tailnet in a single call. Replaces all DNS settings (nameservers, search paths, split DNS, MagicDNS preference). This is a replace-all endpoint: pass every top-level field you want to keep, because a field you omit may be cleared rather than left alone.
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": "tailscale_set_dns_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | List of DNS server IP addresses | |
| magicDNS | No | Whether to enable MagicDNS | |
| splitDns | No | Map of domain to nameserver list for split DNS, or to null to clear that domain | |
| searchPaths | No | List of DNS search domains |