Configruation error

Python version 3.9.1
pymongo version 3.11.2
got configuration error I had also installed dnspython All nameservers failed to answer the query IN SRV: I don’t know why this error occurs while I had tried the same code on a different pc or collab it worked perfectly can anyone help in this it would be appriciable

Your internet and/or VPN provider uses an outdated DNS software. Try to manually override the default in order to use Google’s public and servers.

thank you steeve