Relative Content

Tag Archive for pymongodnspython

My DNS servernames includes a blank entry amongst good entries, which causes pymongo.errors.ConfigurationError. How to use the good entries?

In my DNS nameserver list e.g. nameservers: [‘255.255.255.255’, ‘255.255.255.0’, ”] there is a blank entry. I am in an enterprise with no ability to remove the blank entry. dnspython.resolver treats this blank as an error even though there are also good entries and pymongo responds to the error by not launching and showing this error pymongo.errors.ConfigurationError: nameserver is not a dns.nameserver.Nameserver instance or text form, IP address, nor a valid https URL. The dnspython team have offered this fix: