Tailscale icon

Tailscale

Manage your Tailscale tailnet — devices, routes, and more

DNS → Get Nameservers

AI-generated

Summary

Retrieve the list of global DNS nameservers configured for a specified Tailscale tailnet.

Inputs

  • Authentication — Select the authentication method to use: API Key or OAuth2. Defaults to API Key.
  • Tailnet Name or ID (required) — Specify the tailnet organization name or ID to query. Choose from the dropdown or use the default tailnet by selecting "-". This determines which tailnet's nameservers are retrieved.

Output shape

a JSON object representing the list of global DNS nameservers configured for the specified tailnet

The output is the exact response from the API endpoint corresponding to the nameservers configuration; no pagination is involved.

Examples

Example 1: Retrieving global DNS nameservers for the default tailnet using API Key authentication

Set Authentication to 'API Key' and Tailnet Name or ID to '-' to get the default tailnet's nameservers.

Links

Discussion