[Bug]: T3 Connect relay hostname never resolves (NXDOMAIN) although tunnel is connected and link is provisioned #25628
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Closest is #8035, but that's a different failure: there the environment never appears. Here it appears as "relay online", but its T3 Connect hostname doesn't exist in public DNS, so no client can reach it.
Area#
apps/server
Steps to reproduce#
- On a Mac mini (macOS 27.0.1, arm64), install
t30.1.2 withcurl -fsSL https://t3.codes/install.sh | sh, then runt3 service install(launchd user agent, server on127.0.0.1:3773). - Run
t3 connect link --headless, install the managed relay client (cloudflared 2026.10.0), and approve the device code. Output:✓ Authorized as <account>. - Run
t3 service restart. - Run
t3 connect statuson the host.
The account is new and has two machines linked: this one and a MacBook, also on 0.1.2.
Expected behavior#
The host's T3 Connect address resolves, t3 connect status reports it reachable, and other devices on the same account can connect through the relay.
Actual behavior#
t3 connect status on the host:
T3 Connect
Exposure: enabled
Authorization: stored credential
Environment link: provisioned
Relay: https://relay.t3.codes
✕ T3 Connect is NOT reachable from other devices
The T3 Connect address does not resolve from this machine.
cause: dns_failed
The tunnel itself is up. Its ingress config, from cloudflared's /config metrics endpoint, maps prod-d8f4a20eb3e5057c.t3coderelay.com -> http://127.0.0.1:3773. It registered 4 QUIC connections (ewr/bos), and TCP 7844 is open. The server log even reported "T3 Connect is reachable from other devices. Tunnel connected · 4 connections · QUIC" once, 30 seconds after the first no_connector check. Every check since then says dns_failed.
The hostname is NXDOMAIN everywhere, so this isn't a local resolver problem:
$ dig prod-d8f4a20eb3e5057c.t3coderelay.com @1.1.1.1 -> status: NXDOMAIN
$ dig prod-d8f4a20eb3e5057c.t3coderelay.com @8.8.8.8 -> (no answer)
The MacBook on the same account resolves fine from the same network (prod-<other id>.t3coderelay.com returns Cloudflare A records). Another device on the account lists the Mac mini as "T3 Connect · not added · relay online". Choosing Connect fails with "this device can't reach Jordan's Mac mini's tunnel".
Already tried, none of which changed anything:
- flushed the host DNS cache (
dscacheutil -flushcache,killall -HUP mDNSResponder) t3 service restartt3 connect unlink, thent3 connect link --headless, thent3 service restart. Unlink printed "Revoked the relay-side environment record". The relink returned the sameprod-d8f4a20eb3e5057chostname, still NXDOMAIN.
So the DNS record for this environment's relay hostname seems never to have been created, or was removed, on the relay side. Direct pairing over Tailscale works as a workaround.
Impact#
Major degradation or frequent failure
Version or commit#
t3 CLI / server 0.1.2 (background service), cloudflared 2026.10.0 (managed install), macOS 27.0.1 arm64
tanstack-source added labelsbug
Sign in to join this conversation.