Use hostname instead of server.dns_name, per @dereklwood