Set split DNS
tailscale_set_split_dnsAssign domains to specific nameservers in your tailnet's DNS. Replaces the whole split DNS config: domains left out are removed, and null clears a domain's nameservers.
Instructions
Set split DNS configuration. Maps domains to specific nameservers. Replaces the entire split DNS configuration: a domain you leave out is removed, and an empty object clears every domain. Per the API reference, setting a domain to null clears that domain's nameservers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| splitDns | Yes | Map of domain to nameserver list, or to null to clear that domain (e.g. { "corp.example.com": ["10.0.0.1"], "old.example.com": null }) |