Closed MKrupauskas closed 3 months ago
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.
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.