Set a sane default for hostname, using AWS hostnames, when available

hostname, not server.dns_name