net.Dialer calls DialContext for network connection. When the passed address is a domain name. Causes probabilistic connection timeouts

Yes. It is possible that the minimum timeout for an ip is 2 seconds.