`cannot connect to mongoDB

Troubleshooting DNS configurations on Windows machines is not my area of expertise so I’ll need to defer to someone else.

Note that you can manually test the DNS query using a tool like nslookup, for example: nslookup -q=TXT cluster0.ABCDE.mongodb.net (replace ABCDE and cluster0 with your cluster details as needed). If that query resolves then the DNS queries performed by then driver should also resolve.

1 Like