You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.md
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,7 @@ parse error and MUST NOT do DNS resolution or contact hosts.
81
81
It is an error to specify more than one host name in a connection string with the `mongodb+srv` protocol, and the driver
82
82
MUST raise a parse error and MUST NOT do DNS resolution or contact hosts.
83
83
84
-
A driver MUST verify that in addition to the `{hostname}`, the `{domainname}` consists of at least two parts: the domain
85
-
name, and a TLD. In the case that an SRV or TXT record does not have three parts prior to DNS resolution, drivers MUST NOT throw an error.
84
+
In the case that an hostname does not have a `{hostname}` and a `{domainname}` (consisting of a domain name and a TLD) prior to DNS resolution, drivers MUST NOT throw an error.
86
85
87
86
If `mongodb+srv` is used, a driver MUST implicitly also enable TLS. Clients can turn this off by passing `tls=false` in
88
87
either the Connection String, or options passed in as parameters in code to the MongoClient constructor (or equivalent
@@ -204,6 +203,18 @@ See README.md in the accompanying [test directory](tests).
204
203
Additionally, see the `mongodb+srv` test `invalid-uris.yml` in the
0 commit comments