Suped

When setting up a subdomain, what A record should I use, and when should I use a CNAME?

Summary

When setting up a subdomain, choosing between an A record and a CNAME record is a fundamental decision that impacts how your subdomain resolves and functions, especially for email sending. An A record directly maps a domain or subdomain to an IP address, while a CNAME record creates an alias that points to another domain name. Understanding the implications of each, particularly the rule that a CNAME record cannot coexist with other records at the same level, is crucial for proper DNS configuration and smooth email deliverability.

What email marketers say

Email marketers often navigate DNS settings based on the requirements of their Email Service Providers. While some DNS interfaces might default to or require an A record initially, the consensus for email-specific subdomains, particularly for tracking or dedicated sending, leans towards CNAME records due to their flexibility and ease of management when IPs change. Marketers also emphasize the importance of ensuring any A record points to an owned or controlled server and the critical understanding of CNAME limitations, like the inability to coexist with other record types for the same hostname.

Marketer view

An email marketer from Email Geeks states that when setting up a new sending domain like investors.audiencepoint.com, it typically requires an A record.

29 May 2021 - Email Geeks

Marketer view

A marketer from Quora indicates that it would be best to have an A record for a specific subdomain, but notes that CNAMEs often force additional DNS queries, which can slightly impact performance.

22 Jun 2023 - Quora

What the experts say

Experts in email deliverability and DNS management stress the fundamental DNS rule that a CNAME record cannot coexist with other record types for the same hostname. They advise using A records only when direct IP mapping is necessary and controlled, otherwise opting for CNAMEs when integrating with third-party services like ESPs, which simplifies management. The importance of proper ownership of the IP address an A record points to is also frequently highlighted to maintain control and avoid potential deliverability issues.

Expert view

steve589 from Email Geeks questions the necessity of an A record for a sending subdomain, suggesting it might be a requirement of the DNS management interface rather than a deliverability need.

29 May 2021 - Email Geeks

Expert view

An expert from SpamResource highlights that misconfigured DNS records, particularly A records or CNAMEs, can significantly impact email deliverability and sender reputation, leading to blocklisting.

14 Nov 2023 - SpamResource

What the documentation says

Official documentation and technical guides provide clear definitions and usage rules for A records and CNAME records within the DNS system. They consistently highlight that an A record maps a hostname to an IPv4 address, while a CNAME record establishes an alias to another canonical domain name. A crucial point emphasized is the DNS standard dictating that a hostname with a CNAME record cannot have any other resource records at the same level. This fundamental rule guides how subdomains are configured, especially when integrating with various online services.

Technical article

Cloudflare documentation states that A, AAAA, or CNAME can be selected as the record Type when creating subdomain records, depending on whether it needs to point to an IPv4, IPv6, or another domain.

20 Jan 2024 - Cloudflare Docs

Technical article

The IONOS help guide explains that a CNAME record serves as an alias for a subdomain, redirecting DNS queries to the canonical name and simplifying updates.

17 Feb 2024 - IONOS Help

8 resources

Start improving your email deliverability today

Get started