bugfix: cannot get ip from a FQDN hostname