SocketsHttpHandler.DnsRefreshCacheTime: Zero value semantics and cache invalidation
SocketsHttpHandler.DnsRefreshCacheTime Goal To determine the exact behavior of the DnsRefreshCacheTime property when configured with TimeSpan.Zero in .NET 6+ applications that rely on HttpClient for repeated outbound requests. Context & Constraints The SocketsHttpHandler maintains an internal DNS cache shared across instances that reuse the same handler.