I can not connect my mongodb compass with my cluster

If you have linux or cygwin you can use the following:
dig +all vuwithjesus.ygys3.mongodb.net

; <<>> DiG 9.10.6 <<>> +all vuwithjesus.ygys3.mongodb.net

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25811

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 4096

;; QUESTION SECTION:

;vuwithjesus.ygys3.mongodb.net. IN A

;; AUTHORITY SECTION:

mongodb.net. 900 IN SOA ns-761.awsdns-31.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 60

;; Query time: 122 msec

;; SERVER: 10.0.0.138#53(10.0.0.138)

;; WHEN: Sun May 29 12:35:21 IDT 2022

;; MSG SIZE rcvd: 153

if the DNS resolves correctly then you still need the right username and password, but at least you are knocking at the right door!

1 Like