fall back on private dns name for ec2/openstack if public name empty