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

Connect DNS lookups hang indefinitely if there's no response #142

Closed
MKrupauskas opened this issue Jul 24, 2024 · 0 comments · Fixed by #143
Closed

Connect DNS lookups hang indefinitely if there's no response #142

MKrupauskas opened this issue Jul 24, 2024 · 0 comments · Fixed by #143

Comments

@MKrupauskas
Copy link

MKrupauskas commented Jul 24, 2024

The DNS host provider uses net.LookupHost which doesn't timeout (it just hangs indefinitely) even when the DNS resolver is unreachable.

The expected behavior would be that after 3 seconds (proposed but open to feedback) the DNS lookup times out and fails.

This will be done by using Resolver.LookupHost.

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 a pull request may close this issue.

1 participant