using the private_dns_name instead of the hostname