Try to use dns_name before public and private ip address