Skip to content

Commit 21d11e9

Browse files
DOCSP-34013: Add DNS seedlist default behavior to C# TLS/SSL guide (#187)
DOCSP-34013: Add DNS seedlist default behavior to C# TLS/SSL guide Co-authored-by: Jordan Smith <[email protected]>
1 parent 0802624 commit 21d11e9

File tree

1 file changed

+10
-0
lines changed
  • source/fundamentals/connection

1 file changed

+10
-0
lines changed

source/fundamentals/connection/tls.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ You can enable TLS for the connection to your MongoDB instance
2929
in two different ways: using a property on a ``MongoClientSettings`` object or
3030
through a parameter in your connection string.
3131

32+
.. note::
33+
34+
If you connect by using the DNS seedlist protocol, the driver enables
35+
TLS/SSL by default. To disable it, set the ``tls`` or ``ssl`` parameter value to
36+
``false`` in your connection string or ``MongoClientSettings`` instance.
37+
38+
To learn more about connection behavior when you use a DNS seedlist,
39+
see the :manual:`SRV Connection Format </reference/connection-string/#srv-connection-format>`
40+
section in the Server manual.
41+
3242
.. tabs::
3343

3444
.. tab:: MongoClientSettings

0 commit comments

Comments
 (0)