Skip to content

Conversation

@hessjcg
Copy link
Collaborator

@hessjcg hessjcg commented Dec 17, 2025

When a custom DNS name is used to connect to a Cloud SQL instance, the dialer should first attempt to resolve the custom DNS name to an IP address and use that for the connection. If the lookup fails, the dialer should fall back to using the IP address from the instance metadata.

Fixes #1362

@hessjcg hessjcg requested a review from a team as a code owner December 17, 2025 03:58
When a custom DNS name is used to connect to a Cloud SQL instance, the dialer should first attempt to resolve the custom DNS name to an IP address and use that for the connection. If the lookup fails, the dialer should fall back to using the IP address from the instance metadata.

Fixes #1362
@hessjcg hessjcg merged commit 18eddc4 into main Dec 17, 2025
17 checks passed
@hessjcg hessjcg deleted the feat-dns-lookup branch December 17, 2025 22:47
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.

Use configured DNS name to lookup instance IP address

3 participants