Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD.

--HG--
branch : 3.4