Skip to content

Commit 546c88e

Browse files
authored
DOCSP-51345: Document polling SRV records (#107)
1 parent d70ee63 commit 546c88e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/connect/connection-targets.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,14 @@ The following examples show how to connect to a MongoDB replica set running on p
122122
.. note:: Replica Set in Docker
123123

124124
.. sharedinclude:: dbx/docker-replica-set.rst
125+
126+
DNS Service Discovery
127+
---------------------
128+
129+
.. sharedinclude:: dbx/srv-polling.rst
130+
131+
.. replacement:: srv-uri
132+
133+
.. code-block:: kotlin
134+
135+
val uri = "mongodb+srv://<hostname>/"

0 commit comments

Comments
 (0)