Skip to content

DOCSP-33943: mention dns seedlist default tls setting #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions source/fundamentals/connection/tls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ You can enable TLS/SSL for the connection to your MongoDB instance
in two different ways: through a parameter in your connection string, or
using a method in the ``MongoClientSettings.Builder`` class.

.. note::

If you connect by using the DNS seedlist protocol, indicated by the ``+srv``
connection string modifier, the driver enables TLS/SSL. To disable it,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: Compound adjective

Suggested change
connection string modifier, the driver enables TLS/SSL. To disable it,
connection-string modifier, the driver enables TLS/SSL. To disable it,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion! I had intended to keep it consistent with the Server manual mention (linked in the PR text), but I think it could be more clear to describe a little differently.

set the ``tls`` or ``ssl`` parameter value to ``false`` it in your
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I:

Suggested change
set the ``tls`` or ``ssl`` parameter value to ``false`` it in your
set the ``tls`` or ``ssl`` parameter value to ``false`` in your

connection string or ``MongoClientSettings`` instance.

To learn more about connection behavior when you use a DNS seedlist,
see the :manual:`SRV Connection Format </reference/connection-string/#std-label-connections-dns-seedlist>`
section in the Server manual.

.. tabs::

.. tab:: ConnectionString
Expand Down