<!-- This page should NOT be deleted. A Datadog short-link (https://dtdg.co/flag-hostname-fqdn) points to this page. The link cannot be changed. --> # Difference in hostname resolution between Agent v5 and Agent v6/v7 This information is available in the Datadog documentation: [docs.datadoghq.com/agent/faq/how-datadog-agent-determines-the-hostname/#agent-versions][1] [1]: https://docs.datadoghq.com/agent/faq/how-datadog-agent-determines-the-hostname/#agent-versions