gethostbyname() fix typo: was "grep", shoul be "map"