Add custom extra DNS records to your tailnet
Tailscale provides DNS to the nodes in your Tailscale network (known as a tailnet) to support MagicDNS node names and custom DNS configuration. Using Tailscale's DNS infrastructure, you can configure extra DNS records that will resolve on your nodes.
-
Contact Tailscale support and have the
extraDNSRecordssetting enabled in your tailnet. -
Go to the DNS page of the admin console. In the Nameservers section, go to Global nameservers and enable Override DNS servers.
-
After you've confirmed the steps above, go to the Access controls page of the admin console, and edit your policy file to include an
extraDNSRecordsfield:{ "grants": ["..."], "extraDNSRecords": [ {"Name": "custom.record", "Value": "100.100.100.100"}, ], }You can use the visual policy editor to manage your tailnet policy file. Refer to the visual editor reference for guidance on using the visual editor.
This adds the domain name custom.record to each node in your tailnet,
which resolves an A record pointing to 100.100.100.100.
