CSHARP-6018Backlog
SRV connection times out on VPN due to random DNS nameserver order
h4. Summary When I'm connected to a VPN (WireGuard) on Windows 11, trying to create a Mongo connection using the "mongodb+srv" protocol is very slow, and sometimes throws a timeout exception after 30 seconds. This is because WireGuard sets a DNS server for the VPN interface, and blocks requests to outside DNS servers. This is what I want, and what many VPNs do, and it works fine with other applications (nslookup, browsers, etc.) because they use the OS's DNS resolution, which tries the DNS