fixed resolving numerical addresses in host_create_from_dns()