go/doc/next/6-stdlib/99-minor/net/63116.md

198 B

The [DNSError] type now wraps errors caused by timeouts or cancellation. For example, errors.Is(someDNSErr, context.DeadlineExceedeed) will now report whether a DNS error was caused by a timeout.