Use private ip for hostname if there is no PublicDnsName and no PublicIpAddress.