File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
source/fundamentals/connection Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,17 @@ You can enable TLS/SSL for the connection to your MongoDB instance
3737in two different ways: through a parameter in your connection string, or
3838using 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
You can’t perform that action at this time.
0 commit comments