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

--HG--
branch : 2.7