Skip to content

Commit 9fc7c4a

Browse files
author
Chris Cho
committed
DOCSP-33943: mention dns seedlist default tls setting (#481)
* DOCSP-33943: mention dns seedlist default tls setting (cherry picked from commit f7ac2f8)
1 parent e374fc3 commit 9fc7c4a

File tree

1 file changed

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

1 file changed

+11
-0
lines changed

source/fundamentals/connection/tls.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ You can enable TLS/SSL for the connection to your MongoDB instance
3737
in two different ways: through a parameter in your connection string, or
3838
using a method in the ``MongoClientSettings.Builder`` class.
3939

40+
.. note::
41+
42+
If you connect by using the DNS seedlist protocol, indicated by the
43+
``mongodb+srv`` prefix in your connection string, the driver enables
44+
TLS/SSL. To disable it, set the ``tls`` or ``ssl`` parameter value to
45+
``false`` in your connection string or ``MongoClientSettings`` instance.
46+
47+
To learn more about connection behavior when you use a DNS seedlist,
48+
see the :manual:`SRV Connection Format </reference/connection-string/#std-label-connections-dns-seedlist>`
49+
section in the Server manual.
50+
4051
.. tabs::
4152

4253
.. tab:: ConnectionString

0 commit comments

Comments
 (0)