Skip to content

fix(deploy): fix post-deploy DNS check for non-standard ports and private IPs#4742

Merged
dangra merged 1 commit intomasterfrom
fix-dns-check-port
Feb 16, 2026
Merged

fix(deploy): fix post-deploy DNS check for non-standard ports and private IPs#4742
dangra merged 1 commit intomasterfrom
fix-dns-check-port

Conversation

@dangra
Copy link
Member

@dangra dangra commented Feb 16, 2026

Summary

  • Use appURL.Hostname() instead of appURL.Host to strip the port from the hostname before DNS lookup, preventing queries for invalid names like app.fly.dev:8192.
  • Exclude ULA (fc00::/7) IPv6 addresses (flycast, 6PN) from the expected AAAA record count since they are private and not published in fly.dev DNS

Test plan

  • Deploy an app with a non-standard port and verify the DNS check queries the correct hostname
  • Deploy an app with flycast/6PN IPs and verify the DNS check doesn't expect AAAA records for private IPs
  • Deploy an app on standard ports with public IPs and verify DNS check still works

@dangra dangra force-pushed the fix-dns-check-port branch from 11026d8 to 28cd61f Compare February 16, 2026 21:34
…vate IPs

Two fixes:
- Use appURL.Hostname() instead of appURL.Host to strip the port from
  the hostname before DNS lookup, preventing queries for invalid names
  like "app.fly.dev:8192."
- Exclude ULA (fc00::/7) IPv6 addresses (flycast, 6PN) from the
  expected AAAA record count since they are private and not published
  in fly.dev DNS.
@dangra dangra changed the title fix(deploy): strip port from hostname in post-deploy DNS check fix(deploy): fix post-deploy DNS check for non-standard ports and private IPs Feb 16, 2026
@dangra dangra force-pushed the fix-dns-check-port branch from 28cd61f to c884dec Compare February 16, 2026 21:43
@dangra dangra merged commit 0632ef5 into master Feb 16, 2026
21 of 24 checks passed
@dangra dangra deleted the fix-dns-check-port branch February 16, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant