Error: queryTxt ETIMEOUT :: Error while connecting with Atlas

Error: queryTxt ETIMEOUT
at QueryReqWrap.onresolve [as oncomplete] (dns.js:202:19) {
errno: ‘ETIMEOUT’,
code: ‘ETIMEOUT’,
syscall: ‘queryTxt’,
hostname: ‘

I’m facing this connection Error while conncecting with Atlas. It worked fine till yesterday.
I’ve double checked my username and password.
I’ve whitelisted all the IP’s.

I’m stuck in the middle of a project and cannot connect to the DB itself.


It is timing out at name resolution time. Try using different DNS servers. You may try with google’s and


its not working. i try both of them
but it is still not working

1 Like

hi have you found any solution for above error?

How are you connecting to Atlas?
By app or other tool
Did you try from shell or Compass
What type of connect string you are using?

Hey the issue is resolved just you have lower your node version while connecting and it’s works perfectly

What do you mean by “lower your node version”?