[issue35164] socket.getfqdn and socket.gethostbyname fail on MacOS

George Hickman report at bugs.python.org
Fri Jan 10 06:28:23 EST 2020


George Hickman <george+bugs-python-org at ghickman.co.uk> added the comment:

I came across this today with the same timeout behaviour on macOS 10.14.6.

After some digging I tracked it down to the Search Domains setting of my local network, this was set to "local", removing that immediately fixed the issue.

----------
nosy: +ghickman

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35164>
_______________________________________


More information about the Python-bugs-list mailing list