Can't resolve the DNS cluster name

Hi,
I’m struggling with this issue.

I created up &running a new sandbox MongoDB cluster into the mongoDB.Atlas, the connection string that the web site popup shows is:

mongo “mongodb+srv://sandbox-gep7q.mongodb.net/test” --username m001-student

but I can’t resolve the sandbox-gep7q.mongodb.net DNS name!

Es:

ping sandbox-gep7q.mongodb.net
ping: unknown host sandbox-gep7q.mongodb.net

It is normal?

Thank you

Andrea

Hi @Andrea_Renzi_29863,

Please try this command.

ping sandbox-shard-00-00-gep7q.mongodb.net

And subsequently for other nodes in your cluster it will be.

sandbox- shard-00-01- gep7q.mongodb.net

sandbox- shard-00-02- gep7q.mongodb.net

Hope this helps!

If you have any other query then please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer

Thank you! now I can resolve the DNS name… but when I try to connect via Compass, I obtian the error message:

read ECONNRESET

Sorry, I found the problem, there is a firewall blocking and I’m able to connect with an SSL tunnel now.

Thank you

Andrea

1 Like