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