{"id":9303,"date":"2026-11-25T18:31:32","date_gmt":"2026-11-25T18:31:32","guid":{"rendered":"https:\/\/www.warmy.io\/blog\/?p=9303"},"modified":"2026-11-25T18:32:05","modified_gmt":"2026-11-25T18:32:05","slug":"what-is-a-cname-record","status":"publish","type":"post","link":"https:\/\/www.warmy.io\/blog\/what-is-a-cname-record\/","title":{"rendered":"What Is a CNAME Record? How Email Senders Use It (DKIM, Tracking Domains)"},"content":{"rendered":"\n<p>A CNAME (canonical name) record is a DNS record that makes one domain name an alias of another. When someone looks up the alias, DNS follows the CNAME to the target name and returns that name&#8217;s records. Email services use CNAMEs to host your DKIM keys and tracking links on their servers.<\/p>\n\n\n\n<p>If an ESP just sent you a list of records to add, &#8220;what is a CNAME record&#8221; is usually the first question. The second is why the list has so many of them, and we cover that after the basics.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/11\/what-is-a-cname-record.jpg\" alt=\"What is a CNAME record: an alias domain name pointing to a canonical domain name\" title=\"What is a CNAME record\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is a CNAME Record?<\/h2>\n\n\n\n<p>CNAME stands for canonical name. A canonical name record says that one name (the alias) is another name for a second one (the canonical, or real, name). The record is defined in <a title=\"RFC 1034: Domain Names - Concepts and Facilities (CNAME record definition)\" href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc1034\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">RFC 1034<\/a>, and RFC 1035 lists it as record type 5.<\/p>\n\n\n\n<p>A CNAME holds a name and nothing else. It can&#8217;t store an IP address or text. All it tells a resolver is &#8220;for this name, go and ask about that other name.&#8221;<\/p>\n\n\n\n<p>A CNAME isn&#8217;t a redirect in the web sense, either. An HTTP redirect sends a browser to a different URL, and the address bar changes. A CNAME does its work during the DNS lookup, before any connection is made. The browser or mail server keeps using the alias, and DNS fetches the answers from the target.<\/p>\n\n\n\n<p>Every CNAME has the same four fields, although DNS panels label them a little differently:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>CNAME record field<\/th><th>Also called<\/th><th>What it holds<\/th><th>Example<\/th><\/tr><\/thead><tbody><tr><td>Name<\/td><td>Host, Hostname<\/td><td>The alias you are creating<\/td><td><code>www<\/code><\/td><\/tr><tr><td>Type<\/td><td>Record type<\/td><td>Always CNAME<\/td><td><code>CNAME<\/code><\/td><\/tr><tr><td>Value<\/td><td>Target, Points to<\/td><td>The canonical name the alias points to<\/td><td><code>example.com<\/code><\/td><\/tr><tr><td>TTL<\/td><td>Time to live<\/td><td>How long resolvers may cache the answer, in seconds<\/td><td><code>3600<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Here is a CNAME record example in zone file format, the way a DNS server stores it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>www.example.com.  3600  IN  CNAME  example.com.<\/code><\/pre>\n\n\n\n<p>The dot at the end marks a fully qualified domain name (FQDN). Most DNS panels add it for you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How a CNAME Lookup Works<\/h2>\n\n\n\n<p>A DNS CNAME record changes the path of a lookup. Say a receiving mail server wants to verify a DKIM signature from SendGrid. It asks for the TXT record at <code>s1._domainkey.example.com<\/code>. The resolver finds a CNAME at that name, so it repeats the question for the target, <code>s1.domainkey.u1234567.wl001.sendgrid.net<\/code>, and returns the TXT record it finds there. The receiver gets SendGrid&#8217;s public key while asking only about your domain.<\/p>\n\n\n\n<p>You can watch this happen with <code>dig<\/code>. The output below is anonymized:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ dig TXT s1._domainkey.example.com\n;; ANSWER SECTION:\ns1._domainkey.example.com.  3600  IN  CNAME  s1.domainkey.u1234567.wl001.sendgrid.net.\ns1.domainkey.u1234567.wl001.sendgrid.net.  3600  IN  TXT  \"k=rsa; t=s; p=MIGfMA0GCSqGSIb3...\"<\/code><\/pre>\n\n\n\n<p>Every extra hop costs another query. A CNAME that points to another CNAME still resolves, but long chains are slower, and removing one link breaks the whole chain. Keep your side to one hop and leave the rest to your provider.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/11\/cname-lookup-chain-diagram.jpg\" alt=\"How a CNAME lookup works: resolver follows the alias to the target name and its records\" title=\"How a CNAME lookup works\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CNAME vs A Record (and ALIAS\/ANAME)<\/h2>\n\n\n\n<p>An A record maps a name to an IPv4 address (AAAA does the same for IPv6). A CNAME maps a name to another name. If you run the server and know its IP, use an A record. If someone else runs the service, use a CNAME, because they can change their IPs at any time and your record will still follow the name.<\/p>\n\n\n\n<p>The root domain (the zone apex, such as <code>example.com<\/code> without <code>www<\/code>) is where this gets awkward. CNAMEs aren&#8217;t allowed there, which is a problem when a CDN or host gives you only a hostname. DNS providers work around it with non-standard ALIAS or ANAME records, and Cloudflare does it with CNAME flattening. In each case the provider looks up the target itself and answers with plain A or AAAA records, so the other records on the root keep working. That is the practical CNAME vs ALIAS difference: with ALIAS, the lookup happens at your DNS provider, and resolvers only ever see IP addresses.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>CNAME vs A record<\/th><th>A record<\/th><th>CNAME<\/th><th>ALIAS \/ ANAME<\/th><\/tr><\/thead><tbody><tr><td>What it stores<\/td><td>An IPv4 address<\/td><td>Another domain name<\/td><td>Another domain name<\/td><\/tr><tr><td>What resolvers receive<\/td><td>The IP address<\/td><td>The target name, then its records<\/td><td>A or AAAA records (the provider resolves the target)<\/td><\/tr><tr><td>Allowed on the root domain<\/td><td>Yes<\/td><td>No<\/td><td>Yes<\/td><\/tr><tr><td>Other records on the same name<\/td><td>Allowed<\/td><td>Not allowed<\/td><td>Allowed<\/td><\/tr><tr><td>Standard<\/td><td>Yes (RFC 1035)<\/td><td>Yes (RFC 1034)<\/td><td>No, provider-specific<\/td><\/tr><tr><td>When to use<\/td><td>Your own server with a known IP<\/td><td>Subdomains for third-party services: DKIM, tracking, verification<\/td><td>Pointing the root domain at a CDN or host<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>How A, MX and rDNS records work together on a mail server is covered in our guide to <a title=\"DNS MX record, A record and rDNS: how they work for email\" href=\"https:\/\/www.warmy.io\/blog\/what-are-dns-mx-record-dns-a-record-rdns-and-how-does-it-work\/\" target=\"_blank\" rel=\"noopener noreferrer\">DNS MX record, A record and rDNS<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CNAME Record Rules That Break DNS<\/h2>\n\n\n\n<p>Five rules cover most CNAME problems, and the first one matters most for email.<\/p>\n\n\n\n<p>You can&#8217;t put a CNAME on the root domain. The root holds the SOA and NS records that make your zone work, and a CNAME can&#8217;t share a name with any other record. On a sending domain the cost is high. A CNAME on <code>example.com<\/code> would leave no room for your MX record or your <a title=\"What is an SPF record: syntax, examples and setup\" href=\"https:\/\/www.warmy.io\/blog\/the-definitive-guide-to-spf-in-email\/\" target=\"_blank\" rel=\"noopener noreferrer\">SPF TXT record<\/a>, so inbound mail and SPF checks for the whole domain would fail.<\/p>\n\n\n\n<p>That same limit applies on every other name. <a title=\"RFC 1912: Common DNS errors - a CNAME record can&#039;t coexist with other data\" href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc1912\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">RFC 1912<\/a> states that a CNAME is not allowed to coexist with any other data, so you can&#8217;t have a CNAME and a TXT at <code>s1._domainkey.example.com<\/code>, or a CNAME and an MX at <code>mail.example.com<\/code>. Name servers such as BIND refuse to load a zone with this conflict.<\/p>\n\n\n\n<p>It also works in the other direction. <a title=\"RFC 2181: MX and NS records must not point to a CNAME\" href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc2181\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">RFC 2181<\/a> says the name in an MX or NS record must not be an alias, so point your MX at a hostname that has its own A record. Our free <a title=\"Free MX record lookup: check mail servers and priority\" href=\"https:\/\/www.warmy.io\/free-tools\/mx-record-lookup\/\" target=\"_blank\" rel=\"noopener noreferrer\">MX record lookup<\/a> shows where your MX points right now.<\/p>\n\n\n\n<p>The value of a CNAME is always a hostname, never an IP address. If an IP is all you have, you need an A record.<\/p>\n\n\n\n<p>Finally, avoid chains and loops. One hop is fine. Several add lookups, and a loop (A points to B, B points back to A) leaves the name with no answer at all.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Before you add a record your ESP sends, check what&#8217;s already on that name. A CNAME has to be alone, so an old TXT key or a doubled domain in the host field is enough to break DKIM, and the verify screen often won&#8217;t say why.<\/p>\n\n\n\n<p><cite>Daniel Shnaider, CEO<\/cite><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">How Email Senders Use CNAME Records<\/h2>\n\n\n\n<p>When you connect an ESP, receivers have to see your domain in the authentication results, and the ESP wants its keys and servers on its own side so it can change them without asking you. A CNAME handles both, because the record name sits on your domain while the data it points to stays with the ESP. Gmail and Yahoo also expect authenticated mail from bulk senders, and our <a title=\"Google and Yahoo bulk sender requirements: full checklist\" href=\"https:\/\/www.warmy.io\/guides\/google-yahoo-sender-requirements\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google and Yahoo sender requirements<\/a> checklist covers what they check.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DKIM key delegation<\/h3>\n\n\n\n<p>A DKIM public key sits at a selector name: <code>selector._domainkey.yourdomain.com<\/code>. You can publish the key there as a TXT record, or publish a DKIM CNAME that points the selector at a key your ESP hosts. The ESP can then replace the key with no DNS edits on your side. Most ESPs give you two selectors, so one key signs while the other rotates.<\/p>\n\n\n\n<p>Selector names differ by provider. <a title=\"SendGrid domain authentication: DKIM CNAME records s1 and s2\" href=\"https:\/\/www.twilio.com\/docs\/sendgrid\/ui\/account-and-settings\/how-to-set-up-domain-authentication\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">SendGrid<\/a> uses <code>s1<\/code> and <code>s2<\/code> when automated security is on. <a title=\"Mailchimp email domain authentication: DKIM CNAME records k2 and k3\" href=\"https:\/\/mailchimp.com\/help\/set-up-email-domain-authentication\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Mailchimp<\/a> usually gives <code>k2<\/code> and <code>k3<\/code> (older accounts may differ). <a title=\"Amazon SES Easy DKIM: three DKIM CNAME records\" href=\"https:\/\/docs.aws.amazon.com\/ses\/latest\/dg\/send-email-authentication-dkim-easy-managing.html\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Amazon SES Easy DKIM<\/a> generates three CNAMEs with random tokens as selectors, which we cover in our <a title=\"Amazon SES SPF and DKIM setup guide\" href=\"https:\/\/www.warmy.io\/blog\/mastering-spf-and-dkim-setup-for-amazon-ses-a-comprehensive-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">Amazon SES SPF and DKIM<\/a> guide. <a title=\"Microsoft 365 DKIM setup: selector1 and selector2 CNAME records\" href=\"https:\/\/learn.microsoft.com\/en-us\/defender-office-365\/email-authentication-dkim-configure\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Microsoft 365<\/a> uses <code>selector1<\/code> and <code>selector2<\/code>, with targets under <code>dkim.mail.microsoft<\/code> for custom domains added since May 2025. Our guide to <a title=\"How to set up DKIM in Microsoft 365 for custom domains\" href=\"https:\/\/www.warmy.io\/blog\/a-guide-to-implementing-dkim-in-office-365-for-custom-domains\/\" target=\"_blank\" rel=\"noopener noreferrer\">DKIM in Microsoft 365<\/a> covers the full setup. Always copy the exact names from your ESP&#8217;s dashboard.<\/p>\n\n\n\n<p>For the signing side, start with <a title=\"What is DKIM: how DKIM signing and DKIM records work\" href=\"https:\/\/www.warmy.io\/blog\/what-is-dkim\/\" target=\"_blank\" rel=\"noopener noreferrer\">what is DKIM<\/a>. Our <a title=\"How to find a DKIM selector: step-by-step guide\" href=\"https:\/\/www.warmy.io\/blog\/dkim-selectors-step-by-step-guide-on-how-to-find-dkim-selectors\/\" target=\"_blank\" rel=\"noopener noreferrer\">DKIM selector<\/a> guide shows how to find the selector in a message header.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Return-path and bounce domains<\/h3>\n\n\n\n<p>The return-path (bounce domain) is where bounces go, and it is the domain SPF checks. If it belongs to your ESP, SPF passes for the ESP&#8217;s domain and does nothing for your DMARC. SendGrid fixes this with a CNAME such as <code>em1234.yourdomain.com<\/code> pointing to its servers. Our <a title=\"SendGrid SPF, DKIM and DMARC setup guide\" href=\"https:\/\/www.warmy.io\/blog\/the-benefits-of-sendgrid-spf-record-and-sendgrid-dkim-record\/\" target=\"_blank\" rel=\"noopener noreferrer\">SendGrid SPF, DKIM and DMARC<\/a> guide lists the full record set. Your return-path then sits under your domain, and SPF aligns with a From address on that same domain under DMARC&#8217;s default relaxed alignment. Amazon SES gets the same result with a custom MAIL FROM domain built on MX and TXT records. More on alignment in <a title=\"What is DMARC: policies, alignment and setup\" href=\"https:\/\/www.warmy.io\/blog\/what-is-dmarc\/\" target=\"_blank\" rel=\"noopener noreferrer\">what is DMARC<\/a> and in our guide to <a title=\"SPF alignment issues: causes and fixes for DMARC\" href=\"https:\/\/www.warmy.io\/blog\/spf-alignment-issues-causes-fixes-best-practices-for-better-email-authentication\/\" target=\"_blank\" rel=\"noopener noreferrer\">SPF alignment issues<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Branded tracking domains<\/h3>\n\n\n\n<p>Click tracking routes links through a tracking host the ESP shares with other customers. A branded tracking domain is a CNAME such as <code>links.yourdomain.com<\/code> pointing to that host, so your links show your own domain. Shared tracking hosts can also hurt inbox placement, as we explain in <a title=\"How tracking links affect email deliverability\" href=\"https:\/\/www.warmy.io\/blog\/impact-of-tracking-links-deliverability\/\" target=\"_blank\" rel=\"noopener noreferrer\">how tracking links affect deliverability<\/a>. We cover the setup in our guide to custom tracking domains.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other email records you can delegate<\/h3>\n\n\n\n<p>Some services verify domain ownership with a CNAME instead of a TXT. Hosted MTA-STS services ask you to point <code>mta-sts.yourdomain.com<\/code> at them, and some DMARC monitoring services host your DMARC record through a CNAME at <code>_dmarc.yourdomain.com<\/code>. Once DMARC reports start arriving, you can read them in <a title=\"Warmy DMARC monitoring: read and analyze DMARC reports\" href=\"https:\/\/www.warmy.io\/product\/dmarc-monitoring\/\" target=\"_blank\" rel=\"noopener noreferrer\">Warmy DMARC monitoring<\/a>. The table sums up what common ESPs ask for. For the full Klaviyo setup, see our <a title=\"Klaviyo SPF, DKIM and DMARC setup guide\" href=\"https:\/\/www.warmy.io\/blog\/klaviyo-spf-dkim-dmarc-setup-guide\/\" target=\"_blank\" rel=\"noopener noreferrer\">Klaviyo SPF, DKIM and DMARC<\/a> guide.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>ESP<\/th><th>CNAMEs you add<\/th><th>Why<\/th><\/tr><\/thead><tbody><tr><td>SendGrid<\/td><td><code>em1234<\/code> (return-path), <code>s1._domainkey<\/code>, <code>s2._domainkey<\/code>; optional link branding<\/td><td>SPF on a return-path under your domain, DKIM keys SendGrid rotates, branded links<\/td><\/tr><tr><td>Mailchimp<\/td><td><code>k2._domainkey<\/code>, <code>k3._domainkey<\/code><\/td><td>DKIM keys hosted by Mailchimp<\/td><\/tr><tr><td>Amazon SES<\/td><td>Three <code>&lt;token&gt;._domainkey<\/code> records<\/td><td>Easy DKIM keys SES hosts and rotates<\/td><\/tr><tr><td>Microsoft 365<\/td><td><code>selector1._domainkey<\/code>, <code>selector2._domainkey<\/code><\/td><td>DKIM keys Microsoft hosts and rotates<\/td><\/tr><tr><td>Klaviyo (static routing)<\/td><td>Sending subdomain such as <code>send<\/code>, plus a DKIM pair such as <code>km1._domainkey<\/code> and <code>km2._domainkey<\/code><\/td><td>Branded sending domain with DKIM. Dynamic routing uses NS records instead<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/11\/dkim-cname-record-esp-example.jpg\" alt=\"DKIM CNAME records pointing a selector on your domain to keys hosted by an email service provider\" title=\"DKIM CNAME records\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add a CNAME Record (and Mistakes to Avoid)<\/h2>\n\n\n\n<p>Open your domain&#8217;s DNS settings, add a new record and set the type to CNAME. Paste the host from your ESP into Name and the target into Value. Leave TTL at the default unless your ESP asks otherwise, save, then click verify in the ESP.<\/p>\n\n\n\n<p>When verification fails, it&#8217;s usually one of four mistakes.<\/p>\n\n\n\n<p>Many panels add your domain to the Name field on their own, so pasting <code>s1._domainkey.example.com<\/code> creates <code>s1._domainkey.example.com.example.com<\/code>. Enter only <code>s1._domainkey<\/code>.<\/p>\n\n\n\n<p>If your DNS runs on Cloudflare, check the proxy status. A proxied CNAME answers with Cloudflare&#8217;s IP addresses instead of your ESP&#8217;s target. <a title=\"Cloudflare DNS proxy status: keep email CNAME records DNS only\" href=\"https:\/\/developers.cloudflare.com\/dns\/proxy-status\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Cloudflare&#8217;s documentation<\/a> says email and domain verification records should be DNS only, so set every ESP CNAME to DNS only (gray cloud).<\/p>\n\n\n\n<p>Stray characters break records too. A space copied from the dashboard is enough, and so is an extra dot in a panel that adds its own.<\/p>\n\n\n\n<p>And if an old TXT DKIM key sits at the selector name, delete it before you add the CNAME. The two can&#8217;t coexist. If that selector still signs live mail, swap the records in one sitting and send a test message right away, so DKIM is never left without a key.<\/p>\n\n\n\n<p>After you save, resolvers that cached an older answer keep it until its TTL runs out. Our guide to <a title=\"What is DNS propagation and how it affects email deliverability\" href=\"https:\/\/www.warmy.io\/blog\/what-is-dns-propagation-and-how-to-minimize-its-impact-on-email-deliverability\/\" target=\"_blank\" rel=\"noopener noreferrer\">DNS propagation<\/a> explains the delays.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.warmy.io\/blog\/wp-content\/uploads\/2026\/11\/add-cname-record-dns-panel.jpg\" alt=\"Adding a CNAME record in a DNS panel with host, target and TTL fields\" title=\"How to add a CNAME record\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Check a CNAME Record<\/h2>\n\n\n\n<p>You can run this check from any terminal. On macOS or Linux, run <code>dig<\/code> with the record type and the full name:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dig CNAME s1._domainkey.example.com +short<\/code><\/pre>\n\n\n\n<p>A correct record returns the target name. An empty answer means the record is missing, saved under a slightly different name or not visible yet. <code>nslookup<\/code> does the same job and also works on Windows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup -type=CNAME s1._domainkey.example.com<\/code><\/pre>\n\n\n\n<p>To make sure the key itself is valid, run your selector through our <a title=\"Free DKIM record generator and DKIM checker\" href=\"https:\/\/www.warmy.io\/free-tools\/dkim-generator\/\" target=\"_blank\" rel=\"noopener noreferrer\">DKIM checker<\/a>. For MX and the other records your mail depends on, see <a title=\"MX and DNS record lookup for email\" href=\"https:\/\/www.warmy.io\/blog\/email-deliverability\/mx-dns-record-lookup-for-email\/\" target=\"_blank\" rel=\"noopener noreferrer\">MX and DNS record lookup<\/a>. Our <a title=\"Free DNS record checker: SPF, DKIM, DMARC and MX\" href=\"https:\/\/www.warmy.io\/free-tools\/dns-checker\/\" target=\"_blank\" rel=\"noopener noreferrer\">DNS record checker<\/a> tests SPF, DKIM, DMARC and MX in one pass. Once everything resolves, run a <a title=\"Free email deliverability test and spam test\" href=\"https:\/\/www.warmy.io\/free-tools\/email-deliverability-test\/\" target=\"_blank\" rel=\"noopener noreferrer\">free email deliverability test<\/a> to see how your authentication looks from the receiving side.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What is a CNAME record in simple terms?<\/h3>\n\n\n\n<p>A CNAME is a nickname in DNS. It makes one domain name an alias of another, so anyone who looks up the alias gets the target&#8217;s records. A simple CNAME record example is <code>www.example.com<\/code> pointing to <code>example.com<\/code>, so both names lead to the same server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between a CNAME and an A record?<\/h3>\n\n\n\n<p>An A record points a name to an IPv4 address. A CNAME points a name to another name, and DNS then looks up that name&#8217;s records. So the CNAME vs A record choice depends on what you have. Use an A record for a known IP and a CNAME for a hostname someone else manages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I use a CNAME record on my root domain?<\/h3>\n\n\n\n<p>No. The root domain must hold SOA and NS records, and a CNAME can&#8217;t share a name with other records. On a mail domain it would also block MX and SPF. To point the root at a hostname, use an ALIAS or ANAME record from your DNS provider.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can a CNAME record point to an IP address?<\/h3>\n\n\n\n<p>No. A CNAME always points to another domain name. If you enter an IP address as the value, the panel will reject it or treat it as a hostname. To point a name at an IP, create an A record (AAAA for IPv6).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does my email provider ask me to add CNAME records?<\/h3>\n\n\n\n<p>CNAMEs let your provider keep DKIM keys, bounce handling and tracking hosts on its own servers while receivers see your domain. The provider can rotate keys or move servers with no new DNS edits from you, so authentication keeps working as its setup changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can DKIM use a CNAME record instead of a TXT record?<\/h3>\n\n\n\n<p>Yes. The key itself is still a TXT record, but it lives on your ESP&#8217;s domain. A DKIM CNAME at <code>selector._domainkey.yourdomain.com<\/code> points to it, and receivers follow the CNAME to read the key. SendGrid, Mailchimp, Amazon SES and Microsoft 365 all work this way.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why is my CNAME record not working?<\/h3>\n\n\n\n<p>The usual causes are a doubled domain in the host field, a Cloudflare proxy left on, a typo in the target, or another record on the same name. Check it with <code>dig<\/code> or <code>nslookup<\/code>. An empty answer for a correct record usually means it is still propagating.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How long does a CNAME record take to work?<\/h3>\n\n\n\n<p>A new CNAME is often visible within minutes, but resolvers that cached an older answer keep it until its TTL expires. If your ESP checked before the record existed, the empty answer is cached too, for the negative-caching time set in your zone&#8217;s SOA record. Your ESP may also recheck DNS on its own schedule, so verification can lag behind the change. If it still fails after a few hours, check the record again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A CNAME (canonical name) record is a DNS record that makes one domain name an alias of another. When someone looks up the alias, DNS follows the CNAME to the target name and returns that name&#8217;s records. Email services use CNAMEs to host your DKIM keys and tracking links on their servers. If an ESP [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":9301,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[],"class_list":["post-9303","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email-marketing"],"acf":[],"lang":"en","translations":{"en":9303},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts\/9303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/comments?post=9303"}],"version-history":[{"count":1,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts\/9303\/revisions"}],"predecessor-version":[{"id":9304,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/posts\/9303\/revisions\/9304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/media\/9301"}],"wp:attachment":[{"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/media?parent=9303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/categories?post=9303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.warmy.io\/blog\/wp-json\/wp\/v2\/tags?post=9303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}