This article details the significant performance bottleneck caused by Windows DNS resolution when connecting to localhost on Windows, leading to slow .NET test execution. It provides a detailed explanation of the issue, including the root cause, the impact on test times, and practical solutions, including forcing IPv4 at the socket level.