More of an FYI I guess. Atlas shows Cluster Name instead of each replicas hostname to connect

Hi. This got me confused a bit as I was doing the activity at about the same time as the lecture (which I later found out is the lab). When I got to “Connect” , instead of the command with all the node names and options, Atlas provided this:
mongo “mongodb+srv://” --username theusername .

It worked and showed connecting to the three nodes, but then as the vid continued, the lecture was still using the longer command with all the node names. Eventually, I found that the connection protocol “mongodb+srv” uses DNS seedlist. Found it in “man mongo” and here:


The lectures are old and soon to be upgraded. In Atlas, clicking on the Version drop-down will reveal the longer connection string (I think 3.4 or the very last item).

1 Like

Cool. Thanks for the info.

Hi @Aaron_47248,

I hope you found @007_jb’s response helpful. Please let me know if you still have any questions.

Shubham Ranjan
Curriculum Services Engineer