Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DNS Resolution to gsutil -D Debug Output #1792

Open
juanfdez404 opened this issue Aug 8, 2024 · 0 comments
Open

Add DNS Resolution to gsutil -D Debug Output #1792

juanfdez404 opened this issue Aug 8, 2024 · 0 comments

Comments

@juanfdez404
Copy link

juanfdez404 commented Aug 8, 2024

Currently, the gsutil -D debug output shows the hostname (e.g., storage.googleapis.com) used for accessing Google Cloud Storage resources. However, it doesn't provide the resolved IP address. This information would be valuable for troubleshooting, particularly in scenarios where:

  • Private Service Connect endpoints are used: We need to confirm if the connection is going to the expected private IP address.
  • Network issues are suspected: Knowing the resolved IP can help in diagnosing network connectivity problems.

Suggested Enhancement:

Include the resolved IP address(es) in the gsutil -D output, potentially like this:

[DEBUG] Using endpoint: storage.googleapis.com (resolved to 142.250.185.206)

This enhancement would improve the debugging experience for users working with complex network setups or those needing deeper insights into gsutil's network behavior.

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

No branches or pull requests

1 participant