Skip to content

Commit e7fdb41

Browse files
DOCSP-48502 Polling SRV (#13314) (#13425)
* DOCSP-48502 SRV Polling * add dash * add "const" --------- Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
1 parent 1c31cdf commit e7fdb41

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

content/node/current/source/connect/connection-targets.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,17 @@ string and how to verify the replica set name on connection by using the
108108

109109
.. sharedinclude:: dbx/docker-replica-set.rst
110110

111+
DNS Service Discovery
112+
---------------------
113+
114+
.. sharedinclude:: dbx/srv-polling.rst
115+
116+
.. replacement:: srv-uri
117+
118+
.. code-block:: javascript
119+
120+
const uri = "mongodb+srv://<hostname>/"
121+
111122
API Documentation
112123
-----------------
113124

content/node/v6.16/source/connect/connection-targets.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,17 @@ string and how to verify the replica set name on connection by using the
108108

109109
.. sharedinclude:: dbx/docker-replica-set.rst
110110

111+
DNS Service Discovery
112+
---------------------
113+
114+
.. sharedinclude:: dbx/srv-polling.rst
115+
116+
.. replacement:: srv-uri
117+
118+
.. code-block:: javascript
119+
120+
const uri = "mongodb+srv://<hostname>/"
121+
111122
API Documentation
112123
-----------------
113124

0 commit comments

Comments
 (0)