Skip to content

Commit 4462785

Browse files
feat(DRIVERS-2922): loosen options parser restrictions
1 parent a35de87 commit 4462785

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ It is an error to specify more than one host name in a connection string with th
8282
MUST raise a parse error and MUST NOT do DNS resolution or contact hosts.
8383

8484
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. Drivers MUST raise an error and MUST NOT contact the DNS server to obtain SRV (or TXT records) if the
86-
full URI does not consist of at least three parts.
85+
name, and a TLD.
86+
In the case of an SRV record, however, an error should NOT be thrown before DNS resolution is attempted.
8787

8888
If `mongodb+srv` is used, a driver MUST implicitly also enable TLS. Clients can turn this off by passing `tls=false` in
8989
either the Connection String, or options passed in as parameters in code to the MongoClient constructor (or equivalent

0 commit comments

Comments
 (0)