Ping cannot resolve .io domains yet nslookup can
You may have been impacted by recent issues of a portion of the .io TLD Nameservers delivering NXDOMAIN responses which then cascaded throughout all DNS entries globally.

Only a portion of the nameservers were doing this, leading to discrepancies in the cached values downstream, which in turn lead to intermittent failure to lookup the host server when making requests.