# eas-cli fails instantly with no route to host while dig shows a healthy IPv4 address

> Tailscale's MagicDNS returned only AAAA (IPv6) records through the system resolver and the Mac had no IPv6 route. dig queries DNS directly and showed IPv4, but curl, node and eas-cli use getaddrinfo and only got IPv6.

Web page: https://davidewins.com/errors/tailscale-magicdns-ipv6-only-eas-cli

Other. Confirmed fix, 18 September 2026.

Versions: macOS, Tailscale MagicDNS on

Error:

```
Immediate connect fail for 2606:4700::...: No route to host ... Failed to connect to api.expo.dev port 443 after 2 ms
```

## Cause

Tailscale's MagicDNS returned only AAAA (IPv6) records through the system resolver and the Mac had no IPv6 route. `dig` queries DNS directly and showed IPv4, but curl, node and eas-cli use getaddrinfo and only got IPv6.

## Fix

Turn off Tailscale DNS so the system resolver is used:
```bash
tailscale set --accept-dns=false
```
Then retry. Diagnose with `curl -v` (shows which address it tries), not `dig`.

## More Other errors

- [Scheduled retry job runs every 6 hours and never does anything (401 every time)](https://davidewins.com/errors/cron-secret-posted-to-admin-only-route)
- [Web haptics do nothing on iPhone Safari (iOS 26)](https://davidewins.com/errors/ios-web-haptics-scripted-click-ignored)
- [adb connect fails after pairing over Wi-Fi](https://davidewins.com/errors/adb-wireless-pairing-port-vs-connect-port)
- [Time-limited offers expire instantly in local development](https://davidewins.com/errors/local-clock-skew-expires-offers)
- [Scraped pages have no ratings, but the browser shows them](https://davidewins.com/errors/scraped-ratings-null-pre-hydration-html)

[Search all errors](https://davidewins.com/errors)
