Skip to content

Commit d3c6dfc

Browse files
authored
DOCSP-47007 DNS Service Discovery (#533)
* DOCSP-47007 DNS Service Discovery * slow build
1 parent 9f45831 commit d3c6dfc

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

source/connect/connection-targets.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,17 @@ following behavior:
124124

125125
.. sharedinclude:: dbx/docker-replica-set.rst
126126

127+
DNS Service Discovery
128+
---------------------
129+
130+
.. sharedinclude:: dbx/srv-polling.rst
131+
132+
.. replacement:: srv-uri
133+
134+
.. code-block:: go
135+
136+
uri := "mongodb+srv://<hostname>/"
137+
127138
API Documentation
128139
-----------------
129140

@@ -134,4 +145,3 @@ To learn more about connecting to different MongoDB instances with a
134145
- `options <https://mongodb.github.io/node-mongodb-native/6.17/classes/MongoClient.html#options>`__
135146
- `connect <https://mongodb.github.io/node-mongodb-native/6.17/classes/MongoClient.html#connect>`__
136147
- `readPreference <https://mongodb.github.io/node-mongodb-native/6.17/classes/MongoClient.html#readPreference>`__
137-

0 commit comments

Comments
 (0)