Connect Clawsmith to your coding agent. Ship products like crazy.Unlimited usage during betaGet API Key โ†’
โ† Back to dashboard
clawsmith.com/signal/tailscale-magicdns-custom-records-proxy
โš  IssueWide Opendev_tool_cliLive

Tailscale MagicDNS companion that injects custom A, CNAME, and SRV records into the tailnet DNS resolver

Tailscale MagicDNS auto-resolves node hostnames inside a tailnet but refuses to let users add arbitrary DNS records (custom A/AAAA/CNAME/SRV/TXT). The feature request has 1138 GitHub reactions dating from 2021. A Tailscale engineer explicitly declined shipping it in January 2022 citing 'product and security considerations' and the 'support burden' of DNS stack interactions across platforms. The only escape valve is Headscale (self-hosted open-source alternative) which does support custom records, or a per-machine DNS sidecar (e.g. Pi-hole pointed as a nameserver) that must be kept in sync manually. The product opportunity is a companion daemon that syncs a user-maintained records file (YAML/TOML) to the Tailscale API's ExtraRecords field (already partially implemented client-side by Tailscale, just not exposed) or runs a split-horizon DNS on each node inside the tailnet.

Product Idea from this Signal

A CLI proxy that serves custom DNS records into a Tailscale MagicDNS tailnet

1.2k โ–ฒ

Tailscale's MagicDNS auto-registers hostnames for every device on a tailnet but has no mechanism to inject custom A, AAAA, CNAME, or SRV records. Users who need to resolve internal aliases (e.g. db.internal, api.corp, load-balanced VIPs) across all tailnet nodes today must stand up a full CoreDNS or BIND server and point Tailscale's split-DNS at it -- significant ops overhead for what is fundamentally a small config problem. This CLI sidecar runs as a lightweight local DNS resolver, reads a simple YAML/TOML record file, registers itself as a split-DNS nameserver for a user-chosen suffix via the Tailscale Local API, and answers custom record queries while forwarding everything else upstream. No full DNS server required. One binary, one config file.

tailscalemagicdnsdnsdevopshomelabclinetworkingsidecar
Competitive75 leadsView Opportunity โ†’

Score Breakdown

GitHub
1,239

Gap Assessment

Wide OpenNo dedicated solution exists

Tailscale engineer bradfitz explicitly stated in Jan 2022: 'Exposing more of it has a ton of product and security considerations and interacts often surprisingly with various DNS stacks on different platforms, which will increase our support burden if we ship it.' Issue still open as of June 2026 with active community frustration. No credible third-party companion tool exists; the hs-cf-dns-sync approach only syncs node IPs to Cloudflare, not arbitrary records to the tailnet resolver.