Skip to content

Commit

Permalink
DOCSP-34013: Add DNS seedlist default behavior to C# TLS/SSL guide (#187
Browse files Browse the repository at this point in the history
)

DOCSP-34013: Add DNS seedlist default behavior to C# TLS/SSL guide

Co-authored-by: Jordan Smith <[email protected]>
(cherry picked from commit 21d11e9)
  • Loading branch information
mcmorisi committed May 7, 2024
1 parent e73307e commit 34bcf89
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/fundamentals/connection/tls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ By default, TLS is disabled when connecting to MongoDB instances. You can enable
for the connection to your MongoDB instance in two different ways: using a property
on a ``MongoClientSettings`` object or through a parameter in your connection string.

.. note::

If you connect by using the DNS seedlist protocol, the driver enables
TLS/SSL by default. To disable it, 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/#srv-connection-format>`
section in the Server manual.

.. tabs::

.. tab:: MongoClientSettings
Expand Down

0 comments on commit 34bcf89

Please sign in to comment.