{"id":64542,"date":"2026-11-13T12:15:12","date_gmt":"2026-11-13T12:15:12","guid":{"rendered":"https:\/\/easydmarc.com\/blog\/?p=64542"},"modified":"2026-11-13T12:16:46","modified_gmt":"2026-11-13T12:16:46","slug":"dkim-in-cname-vs-txt-record","status":"publish","type":"post","link":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/","title":{"rendered":"DKIM in CNAME vs TXT Record: Which One Should You Use?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Email authentication can get confusing when you&#8217;re setting up DKIM for your domain. Your email service provider may ask you to publish a TXT record, while another may provide a CNAME record. Both serve the same purpose, but the way they work and how you manage them are different.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re wondering whether to use a DKIM CNAME or TXT record, the answer depends on your email setup, the level of control you need, and how your email service provider manages DKIM keys. Choosing the right record can make email authentication easier to manage and help you avoid DNS configuration issues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog, we&#8217;ll explain how DKIM CNAME and TXT records work, their advantages and limitations, and the key differences between them. We&#8217;ll also help you understand which option makes more sense for your email authentication setup.<\/p>\n\n\n\n<h2 id=\"h-what-is-a-dkim-txt-record\" class=\"wp-block-heading\"><strong>What is a DKIM TXT Record?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM TXT record is a DNS record that contains the public key used to verify an email&#8217;s <a href=\"https:\/\/easydmarc.com\/blog\/what-is-a-dkim-signature\/\">DKIM signature<\/a>. It is one of the most common ways to publish DKIM keys. When you set up DKIM using a TXT record, your email service provider or mail server generates a DKIM key pair. You use the private key to sign outgoing emails, while you publish the public key in your domain&#8217;s DNS as a TXT record.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a receiving mail server gets an email, it checks the DKIM-Signature header to find the domain and <a href=\"https:\/\/easydmarc.com\/blog\/what-is-a-dkim-selector-and-how-does-it-work\/\">DKIM selector<\/a> used to sign the message. It then performs a DNS lookup to retrieve the public key. The receiving server uses this public key to verify the signature. If the signature is valid, it confirms that the message has not been altered in a way that breaks the signature and that the signer had access to the corresponding private key.<\/p>\n\n\n\n<h3 id=\"h-how-does-a-dkim-txt-record-work\" class=\"wp-block-heading\"><strong>How Does a DKIM TXT Record Work<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM TXT record is published under a specific hostname that follows this format: selector._domainkey.example.com<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>selector is the identifier used to locate the correct DKIM key.<\/li>\n\n\n\n<li>_domainkey is the fixed part of the DKIM DNS record name.<\/li>\n\n\n\n<li>example.com is your domain name.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A typical DKIM TXT record looks like this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>google._domainkey.example.com<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Type: TXT<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Value: v=DKIM1; k=rsa; p=PUBLIC_KEY<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The record contains several tags:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>v=DKIM1<\/strong>: Identifies the record as a DKIM key record.<\/li>\n\n\n\n<li><strong>k=rsa<\/strong>: Specifies the key type.<\/li>\n\n\n\n<li><strong>p=PUBLIC_KEY<\/strong>: Contains the public key used for DKIM verification.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">**The actual public key is a long string of characters, so the example above uses a placeholder<\/p>\n\n\n\n<h2 id=\"h-advantages-of-using-a-dkim-txt-record\" class=\"wp-block-heading\"><strong>Advantages of Using a DKIM TXT Record<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM TXT record can be useful in a few ways, especially if you manage your own email setup.<\/p>\n\n\n\n<h3 id=\"h-greater-control-over-dkim-keys\" class=\"wp-block-heading\"><strong>Greater Control Over DKIM Keys<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM TXT record gives you more control over how you manage your DKIM keys. You can choose the key length, use different selectors, and decide when to update your keys based on your security needs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if you use different mail servers, you can assign separate selectors to each one. This makes it easier to manage your DKIM setup without mixing up the keys.<\/p>\n\n\n\n<h3 id=\"h-less-dependence-on-external-dns-hosting\" class=\"wp-block-heading\"><strong>Less Dependence on External DNS Hosting<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With a DKIM TXT record, you publish the public key directly in your domain&#8217;s DNS. You don&#8217;t have to depend on another provider&#8217;s DNS to make the key available for verification.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can be helpful if you want to keep your email authentication setup under your own control. Your team can also review and manage the record along with your other DNS settings.<\/p>\n\n\n\n<h3 id=\"h-suitable-for-custom-email-setups\" class=\"wp-block-heading\"><strong>Suitable for Custom Email Setups<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re running your own mail server, a DKIM TXT record can be a practical choice. It lets you configure DKIM based on how your email system works, rather than relying on a third-party email service&#8217;s setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is especially useful for businesses with custom email configurations. Your team can adjust the DKIM setup as needed without following a standard provider-managed configuration.<\/p>\n\n\n\n<h2 id=\"h-limitations-of-dkim-txt-records\" class=\"wp-block-heading\"><strong>Limitations of DKIM TXT Records<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The main drawback is that key management can become a manual task. When you need to rotate a DKIM key, you must ensure that the new public key is published correctly and that your mail server uses the matching private key. If you remove the old key too early or configure the new record incorrectly, DKIM verification may fail.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Managing multiple domains and email services can also complicate this process. For this reason, a DKIM TXT record may not be the easiest option for businesses that want their email provider to handle key management automatically.<\/p>\n\n\n\n<h2 id=\"h-what-is-a-dkim-cname-record\" class=\"wp-block-heading\"><strong>What is a DKIM CNAME Record?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM CNAME record works differently from a TXT record. Instead of storing the DKIM public key directly in your domain&#8217;s DNS, it points to another domain that hosts the public key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CNAME stands for Canonical Name. It is a DNS record that allows one hostname to act as an alias for another hostname. When you use a DKIM CNAME record, your email service provider gives you a CNAME hostname and its target value. You add these details to your DNS, and the receiving mail server follows the CNAME to find the actual DKIM public key. The provider usually stores the key as a TXT record on its DNS server.<\/p>\n\n\n\n<h3 id=\"h-how-a-dkim-cname-record-works\" class=\"wp-block-heading\"><strong>How a DKIM CNAME Record Works<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s say your domain is example.com, and your email service provider asks you to create the following CNAME record:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Host:<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>mail1._domainkey.example.com<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Type:<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>CNAME<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Points to:<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>mail1.example.dkim.emailprovider.com<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, mail1._domainkey.example.com is the hostname used for your DKIM lookup. Instead of storing the public key at this location, the CNAME record points the lookup to mail1.example.dkim.emailprovider.com.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The receiving mail server follows this alias and retrieves the DKIM public key from the provider&#8217;s DNS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The process looks like this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Your email service provider generates the DKIM configuration.<\/li>\n\n\n\n<li>You publish the CNAME record in your domain&#8217;s DNS.<\/li>\n\n\n\n<li>An email is sent with a DKIM signature containing the selector and signing domain.<\/li>\n\n\n\n<li>The receiving mail server looks up the DKIM selector.<\/li>\n\n\n\n<li>The DNS lookup follows the CNAME to your provider&#8217;s domain.<\/li>\n\n\n\n<li>The receiving server retrieves the public key and verifies the email&#8217;s DKIM signature.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The key difference is that you do not need to publish or manually update the public key yourself.<\/p>\n\n\n\n<h2 id=\"h-advantages-of-using-a-dkim-cname-record\" class=\"wp-block-heading\"><strong>Advantages of Using a DKIM CNAME Record<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM CNAME records can make email authentication easier to manage, particularly when you use third-party email services.<\/p>\n\n\n\n<h3 id=\"h-easier-dkim-key-management\" class=\"wp-block-heading\"><strong>Easier DKIM Key Management<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With a DKIM CNAME record, your email service provider can update the public key on its end without asking you to change the DNS record every time. This makes key rotation less of a hassle, especially if your provider handles it automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You don&#8217;t have to keep track of every key update or worry about publishing a new public key yourself. Your provider takes care of the process, as long as the CNAME points to the correct hostname.<\/p>\n\n\n\n<h3 id=\"h-simplifies-email-authentication-for-multiple-domains\" class=\"wp-block-heading\"><strong>Simplifies Email Authentication for Multiple Domains<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If your business uses multiple domains for sending emails, managing DKIM records for each one can get complicated. CNAME records make this process easier by letting your email provider handle the DKIM keys for different domains.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if you use separate domains for marketing emails and customer support, you can configure the required CNAME records for each domain. This makes it easier to manage email authentication without handling every public key separately.<\/p>\n\n\n\n<h3 id=\"h-reduces-the-risk-of-manual-errors\" class=\"wp-block-heading\"><strong>Reduces the Risk of Manual Errors<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM public keys can be quite long, and even a small mistake while copying or pasting one can cause authentication failures. With a CNAME record, you only need to add the hostname and target value provided by your email service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This makes the setup less complicated and reduces the chances of entering an incorrect public key. It can be particularly helpful if you&#8217;re configuring DKIM for several email services at once.<\/p>\n\n\n\n<h2 id=\"h-limitations-of-dkim-cname-records\" class=\"wp-block-heading\"><strong>Limitations of DKIM CNAME Records<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">While DKIM CNAME records make key management easier, there are a few limitations you should be aware of.<\/p>\n\n\n\n<h3 id=\"h-less-control-over-dkim-keys\" class=\"wp-block-heading\"><strong>Less Control Over DKIM Keys<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Your email service provider manages the public key on its own DNS infrastructure. This means you cannot directly change or manage the key yourself. If you need to make changes to the DKIM configuration, you&#8217;ll have to depend on your provider to handle them.<\/p>\n\n\n\n<h3 id=\"h-incorrect-dns-configuration-can-cause-failures\" class=\"wp-block-heading\"><strong>Incorrect DNS Configuration Can Cause Failures<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">CNAME records need to be added exactly as your email service provider instructs. If you enter the wrong target hostname, use an incorrect selector, or make a mistake while configuring the record, receiving mail servers may not be able to find the DKIM public key. This can cause DKIM authentication to fail.<\/p>\n\n\n\n<h3 id=\"h-cannot-coexist-with-other-dns-record-types\" class=\"wp-block-heading\"><strong>Cannot Coexist With Other DNS Record Types<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A CNAME record cannot be published alongside other record types at the same hostname. For example, you cannot have both a DKIM TXT record and a CNAME record at mail1._domainkey.example.com. If you need to use both record types, you must configure them under different hostnames.<\/p>\n\n\n\n<h2 id=\"h-dkim-cname-vs-txt-record-key-differences\" class=\"wp-block-heading\"><strong>DKIM CNAME vs. TXT Record: Key Differences<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Both DKIM CNAME and TXT records help receiving mail servers retrieve the public key required for email authentication. However, they differ in how they publish and manage the key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s a quick comparison:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Feature<\/strong><\/td><td><strong>DKIM TXT Record<\/strong><\/td><td><strong>DKIM CNAME Record<\/strong><\/td><\/tr><tr><td><strong>Public key location<\/strong><\/td><td>Published directly in your DNS<\/td><td>Hosted by your email provider<\/td><\/tr><tr><td><strong>Key management<\/strong><\/td><td>Usually managed manually<\/td><td>Often managed by the provider<\/td><\/tr><tr><td><strong>Control<\/strong><\/td><td>More direct control<\/td><td>Less direct control<\/td><\/tr><tr><td><strong>Setup<\/strong><\/td><td>Requires publishing the public key<\/td><td>Requires publishing a CNAME target<\/td><\/tr><tr><td><strong>Key rotation<\/strong><\/td><td>May require DNS updates<\/td><td>Can be handled automatically by the provider<\/td><\/tr><tr><td><strong>Third-party dependency<\/strong><\/td><td>Lower for DNS key hosting<\/td><td>Depends on the provider&#8217;s DNS<\/td><\/tr><tr><td><strong>Best suited for<\/strong><\/td><td>Self-hosted email and custom setups<\/td><td>Managed email services<\/td><\/tr><tr><td><strong>Common use case<\/strong><\/td><td>Google Workspace TXT configuration<\/td><td>Microsoft 365 DKIM configuration<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"h-dkim-cname-or-txt-record-which-one-should-you-use\" class=\"wp-block-heading\"><strong>DKIM CNAME or TXT Record: Which One Should You Use?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The choice between a DKIM CNAME or TXT record depends mainly on your email service provider and how you want to manage your email authentication setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is no universal answer. Some providers require CNAME records, while others ask you to publish a TXT record. You should always follow the configuration instructions provided by your email service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s when each option makes sense.<\/p>\n\n\n\n<h3 id=\"h-when-should-you-use-a-dkim-txt-record\" class=\"wp-block-heading\"><strong>When Should You Use a DKIM TXT Record?<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM TXT record is a good choice if:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You manage your own mail server and want direct control over DKIM keys<\/li>\n\n\n\n<li>Your email service provider specifically asks you to publish a DKIM TXT record<\/li>\n\n\n\n<li>You have a technical team that can handle DKIM key generation and rotation<\/li>\n\n\n\n<li>You want to manage your public keys directly through your DNS provider<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example, Google Workspace uses DKIM TXT records for its standard DKIM configuration. Google provides the TXT record hostname and public key, which you need to publish in your domain&#8217;s DNS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the record is published, you can start DKIM authentication through the Google Admin console.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, you should not choose TXT records simply because they give you more control. If your email provider manages DKIM automatically, manually publishing a public key may create unnecessary work or even cause configuration issues.<\/p>\n\n\n\n<h3 id=\"h-when-should-you-use-a-dkim-cname-record\" class=\"wp-block-heading\"><strong>When Should You Use a DKIM CNAME Record?<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM CNAME record is a better choice if:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your email service provider requires CNAME delegation.<\/li>\n\n\n\n<li>You want your provider to manage DKIM key rotation.<\/li>\n\n\n\n<li>You use third-party email marketing or transactional email services.<\/li>\n\n\n\n<li>You manage several domains or email platforms and want to reduce manual DNS work.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For example, Microsoft 365 uses CNAME records to connect your domain&#8217;s DKIM selectors to Microsoft&#8217;s DKIM infrastructure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft provides the required CNAME records, which you need to publish in your DNS. Microsoft then manages the DKIM keys and their rotation. If you&#8217;re using Microsoft 365, creating a TXT record instead of the required CNAME record will not work for its standard custom-domain DKIM setup.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The same principle applies to other email service providers. If they provide CNAME records for DKIM, use those records rather than trying to create your own TXT record.<\/p>\n\n\n\n<h2 id=\"h-can-you-use-both-dkim-cname-and-txt-records\" class=\"wp-block-heading\"><strong>Can You Use Both DKIM CNAME and TXT Records?<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">No. You cannot publish a CNAME record and a TXT record at the same hostname because DNS rules do not allow a CNAME record to coexist with other record types at the same hostname.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, you can use TXT and CNAME records for different DKIM selectors within the same domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For instance, your marketing email service may use a CNAME record, while your internal mail server uses a TXT record under a different selector. This is perfectly acceptable, as long as each selector is configured correctly and your email service uses the matching private key to sign messages.<\/p>\n\n\n\n<h2 id=\"h-how-to-check-if-your-dkim-txt-record-is-correct\" class=\"wp-block-heading\"><strong>How to Check If Your DKIM TXT Record Is Correct<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After adding your DKIM TXT record, it&#8217;s worth checking whether the record is published correctly. A small mistake in the record value or selector can cause verification issues. Use <a href=\"https:\/\/easydmarc.com\/tools\/dkim-lookup\">EasyDMARC&#8217;s DKIM Lookup tool<\/a> to check your DKIM configuration. Enter your domain name and the selector used by your email service. The tool will look up the record and help you identify any configuration issues. If the record is missing or invalid, check your DNS settings and compare them with the values provided by your email service. This helps you catch errors before they affect your outgoing emails.<\/p>\n\n\n\n<h2 id=\"h-final-thoughts\" class=\"wp-block-heading\"><strong>Final Thoughts<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">DKIM CNAME and TXT records serve the same purpose: they help receiving mail servers retrieve the public key required to verify your email&#8217;s DKIM signature.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The main difference lies in how the public key is published and managed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A DKIM TXT record is suitable for organizations that want direct control over their public keys and are comfortable managing DKIM configuration manually. A DKIM CNAME record is often more convenient for businesses that rely on third-party email services and want their providers to handle key management.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re unsure which one to use, check your email service provider&#8217;s DKIM setup instructions. If it provides a TXT record, publish the TXT record. If it provides a CNAME record, use the CNAME record.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most importantly, make sure your DKIM configuration works alongside SPF and DMARC. These three email authentication protocols work together to help protect your domain against email spoofing and improve trust in your outgoing emails.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We know this can get confusing, so if you want to delegate this to a professional team, please <a href=\"https:\/\/easydmarc.com\/contact-us\">reach out to us<\/a>.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Email authentication can get confusing when you&#8217;re setting up DKIM for your domain. Your email service provider may ask you to publish a TXT record, while another may provide a CNAME record. Both serve the same purpose, but the way they work and how you manage them are different. If you&#8217;re wondering whether to use [&hellip;]<\/p>\n","protected":false},"author":57,"featured_media":64543,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[204,306],"tags":[562],"class_list":["post-64542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-dns-records","tag-dns"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>DKIM in CNAME vs TXT Record | EasyDMARC<\/title>\n<meta name=\"description\" content=\"Learn the difference between DKIM CNAME and TXT records, how each works, their benefits, and which one to use for your email authentication setup.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DKIM in CNAME vs TXT Record: Which One Should You Use?\" \/>\n<meta property=\"og:description\" content=\"Learn the difference between DKIM CNAME and TXT records, how each works, their benefits, and which one to use for your email authentication setup.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/\" \/>\n<meta property=\"og:site_name\" content=\"EasyDMARC\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/EasyDMARC\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-13T12:15:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-13T12:16:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2026\/11\/DKIM-CNAME-vs-TXT-Hero.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"910\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nshan Manoukian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:site\" content=\"@easydmarc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nshan Manoukian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/\"},\"author\":{\"name\":\"Nshan Manoukian\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/3cec4e845c1321726a7cc2f10d4c5e3e\"},\"headline\":\"DKIM in CNAME vs TXT Record: Which One Should You Use?\",\"datePublished\":\"2026-11-13T12:15:12+00:00\",\"dateModified\":\"2026-11-13T12:16:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/\"},\"wordCount\":2436,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/DKIM-CNAME-vs-TXT-Hero.png\",\"keywords\":[\"DNS\"],\"articleSection\":[\"Blog\",\"DNS Records\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/\",\"name\":\"DKIM in CNAME vs TXT Record | EasyDMARC\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/DKIM-CNAME-vs-TXT-Hero.png\",\"datePublished\":\"2026-11-13T12:15:12+00:00\",\"dateModified\":\"2026-11-13T12:16:46+00:00\",\"description\":\"Learn the difference between DKIM CNAME and TXT records, how each works, their benefits, and which one to use for your email authentication setup.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#primaryimage\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/DKIM-CNAME-vs-TXT-Hero.png\",\"contentUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/DKIM-CNAME-vs-TXT-Hero.png\",\"width\":1440,\"height\":910},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/dkim-in-cname-vs-txt-record\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DNS Records\",\"item\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/category\\\/knowledge-base\\\/dns-records\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"DKIM in CNAME vs TXT Record: Which One Should You Use?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/\",\"name\":\"EasyDMARC\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#organization\",\"name\":\"EasyDMARC\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/cropped-android-chrome-512x512-1.png\",\"contentUrl\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/cropped-android-chrome-512x512-1.png\",\"width\":512,\"height\":512,\"caption\":\"EasyDMARC\"},\"image\":{\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/EasyDMARC\\\/\",\"https:\\\/\\\/x.com\\\/easydmarc\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/easydmarc\\\/mycompany\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/#\\\/schema\\\/person\\\/3cec4e845c1321726a7cc2f10d4c5e3e\",\"name\":\"Nshan Manoukian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b48a8730c40c3d047a7ce369ac08784b0ebfedd540b86da9801538e8855f5763?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b48a8730c40c3d047a7ce369ac08784b0ebfedd540b86da9801538e8855f5763?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b48a8730c40c3d047a7ce369ac08784b0ebfedd540b86da9801538e8855f5763?s=96&r=g\",\"caption\":\"Nshan Manoukian\"},\"url\":\"https:\\\/\\\/easydmarc.com\\\/blog\\\/author\\\/nshan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"DKIM in CNAME vs TXT Record | EasyDMARC","description":"Learn the difference between DKIM CNAME and TXT records, how each works, their benefits, and which one to use for your email authentication setup.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/","og_locale":"en_US","og_type":"article","og_title":"DKIM in CNAME vs TXT Record: Which One Should You Use?","og_description":"Learn the difference between DKIM CNAME and TXT records, how each works, their benefits, and which one to use for your email authentication setup.","og_url":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/","og_site_name":"EasyDMARC","article_publisher":"https:\/\/www.facebook.com\/EasyDMARC\/","article_published_time":"2026-11-13T12:15:12+00:00","article_modified_time":"2026-11-13T12:16:46+00:00","og_image":[{"width":1440,"height":910,"url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2026\/11\/DKIM-CNAME-vs-TXT-Hero.png","type":"image\/png"}],"author":"Nshan Manoukian","twitter_card":"summary_large_image","twitter_creator":"@easydmarc","twitter_site":"@easydmarc","twitter_misc":{"Written by":"Nshan Manoukian","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#article","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/"},"author":{"name":"Nshan Manoukian","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/3cec4e845c1321726a7cc2f10d4c5e3e"},"headline":"DKIM in CNAME vs TXT Record: Which One Should You Use?","datePublished":"2026-11-13T12:15:12+00:00","dateModified":"2026-11-13T12:16:46+00:00","mainEntityOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/"},"wordCount":2436,"commentCount":0,"publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2026\/11\/DKIM-CNAME-vs-TXT-Hero.png","keywords":["DNS"],"articleSection":["Blog","DNS Records"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/","url":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/","name":"DKIM in CNAME vs TXT Record | EasyDMARC","isPartOf":{"@id":"https:\/\/easydmarc.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#primaryimage"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#primaryimage"},"thumbnailUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2026\/11\/DKIM-CNAME-vs-TXT-Hero.png","datePublished":"2026-11-13T12:15:12+00:00","dateModified":"2026-11-13T12:16:46+00:00","description":"Learn the difference between DKIM CNAME and TXT records, how each works, their benefits, and which one to use for your email authentication setup.","breadcrumb":{"@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#primaryimage","url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2026\/11\/DKIM-CNAME-vs-TXT-Hero.png","contentUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2026\/11\/DKIM-CNAME-vs-TXT-Hero.png","width":1440,"height":910},{"@type":"BreadcrumbList","@id":"https:\/\/easydmarc.com\/blog\/dkim-in-cname-vs-txt-record\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/easydmarc.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"DNS Records","item":"https:\/\/easydmarc.com\/blog\/category\/knowledge-base\/dns-records\/"},{"@type":"ListItem","position":4,"name":"DKIM in CNAME vs TXT Record: Which One Should You Use?"}]},{"@type":"WebSite","@id":"https:\/\/easydmarc.com\/blog\/#website","url":"https:\/\/easydmarc.com\/blog\/","name":"EasyDMARC","description":"Blog","publisher":{"@id":"https:\/\/easydmarc.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easydmarc.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/easydmarc.com\/blog\/#organization","name":"EasyDMARC","url":"https:\/\/easydmarc.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2021\/09\/cropped-android-chrome-512x512-1.png","contentUrl":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2021\/09\/cropped-android-chrome-512x512-1.png","width":512,"height":512,"caption":"EasyDMARC"},"image":{"@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/EasyDMARC\/","https:\/\/x.com\/easydmarc","https:\/\/www.linkedin.com\/company\/easydmarc\/mycompany\/"]},{"@type":"Person","@id":"https:\/\/easydmarc.com\/blog\/#\/schema\/person\/3cec4e845c1321726a7cc2f10d4c5e3e","name":"Nshan Manoukian","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b48a8730c40c3d047a7ce369ac08784b0ebfedd540b86da9801538e8855f5763?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b48a8730c40c3d047a7ce369ac08784b0ebfedd540b86da9801538e8855f5763?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b48a8730c40c3d047a7ce369ac08784b0ebfedd540b86da9801538e8855f5763?s=96&r=g","caption":"Nshan Manoukian"},"url":"https:\/\/easydmarc.com\/blog\/author\/nshan\/"}]}},"jetpack_featured_media_url":"https:\/\/easydmarc.com\/blog\/wp-content\/uploads\/2026\/11\/DKIM-CNAME-vs-TXT-Hero.png","_links":{"self":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/64542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/comments?post=64542"}],"version-history":[{"count":1,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/64542\/revisions"}],"predecessor-version":[{"id":64544,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/posts\/64542\/revisions\/64544"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media\/64543"}],"wp:attachment":[{"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/media?parent=64542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/categories?post=64542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easydmarc.com\/blog\/wp-json\/wp\/v2\/tags?post=64542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}