PYTHON-5814ClosedFixed

Configurable DNS domain validation for SRV records

According to the [Initial DNS Seedlist Discovery specification|https://github.com/mongodb/specifications/blob/master/source/initial-dns-seedlist-discovery/initial-dns-seedlist-discovery.md], _"A driver MUST verify that the host names returned through SRV records share the original SRV's domainname. In addition, SRV records with fewer than three . separated parts, the returned hostname MUST have at least one more domain level than the SRV record hostname. Drivers MUST raise an error and MUST NOT

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
4.18.0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.