From a663ea30988851e2a05d5fcb6ca078fddd5d6220 Mon Sep 17 00:00:00 2001 From: Aditi Khare Date: Thu, 8 Aug 2024 17:03:25 -0400 Subject: [PATCH] feat(DRIVERS-2922): loosen options parser restrictions lint --- .../initial-dns-seedlist-discovery.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.md b/source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.md index 0e3da0797a..4f552b18a7 100644 --- a/source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.md +++ b/source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.md @@ -82,8 +82,7 @@ It is an error to specify more than one host name in a connection string with th MUST raise a parse error and MUST NOT do DNS resolution or contact hosts. A driver MUST verify that in addition to the `{hostname}`, the `{domainname}` consists of at least two parts: the domain -name, and a TLD. Drivers MUST raise an error and MUST NOT contact the DNS server to obtain SRV (or TXT records) if the -full URI does not consist of at least three parts. +name, and a TLD. In the case of an SRV record, however, an error should NOT be thrown before DNS resolution is attempted. If `mongodb+srv` is used, a driver MUST implicitly also enable TLS. Clients can turn this off by passing `tls=false` in either the Connection String, or options passed in as parameters in code to the MongoClient constructor (or equivalent