Tailscale icon

Tailscale

Manage your Tailscale tailnet — devices, routes, and more

DNS → Set Search Paths

AI-generated

Summary

Replace the DNS search domains for a specified Tailscale tailnet with the provided list of domains.

Inputs

  • Authentication (required) — Select the authentication method (API Key or OAuth2) used to authorize the request.
  • Tailnet Name or ID (required) — Specify the tailnet organization name or ID whose DNS search paths you want to set. Can be chosen from the list or set to '-' for the default tailnet of the authenticated user.
  • Search Paths (required) — Provide one or more DNS search domain strings that will replace the current list of search domains for the tailnet.

Output shape

a single JSON object representing the updated search paths configuration, as returned by the Tailscale API

The operation sends a POST request replacing existing search paths with the specified domains. The response contains the updated state; no pagination is involved.

Links

Discussion