-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
I configured `test1.mdb.bsdpower.com` with two SRV records:
- hhhh
- foo.test1.mdb.bsdpower.com
The first one is meant to be rejected by the driver, however the message the driver produces is as follows:
irb(main):001:0> a=Mongo::Client.new('mongodb+srv://test1.mdb.bsdpower.com') Mongo::Error::MismatchedDomain (Parent domain name in SRV record result (hhhh) does not match that of the hostname (["mdb", "bsdpower", "com"]))
It should be something along the lines of "SRV record `hhhh` must be a subdomain of `mdb.bsdpower.com` but is not".
- is related to
-
PYTHON-1761 Report invalid SRV records
- Closed