{"id":"https://www.namesilo.com/questions/dns-and-email/can-a-dkim-record-be-a-cname-instead-of-a-txt-record","url":"https://www.namesilo.com/questions/dns-and-email/can-a-dkim-record-be-a-cname-instead-of-a-txt-record","title":"Can a DKIM record be a CNAME instead of a TXT record?","description":"Yes. Microsoft 365 requires two selector CNAME records for its custom-domain DKIM workflow, while RFC 6376 defines the public-key lookup through DNS…","language":"en","category":"dns-and-email","datePublished":"2026-11-18","dateModified":"2026-11-19","answer":"Yes. Microsoft 365 requires two selector CNAME records for its custom-domain DKIM workflow, while RFC 6376 defines the public-key lookup through DNS TXT. The CNAME delegates that selector lookup to Microsoft’s managed key data. Use the records generated for your own domain and tenant.","body":"Can a DKIM record be a CNAME instead of a TXT record?\n\nYes. Microsoft 365 requires two selector CNAME records for its custom-domain DKIM workflow, while RFC 6376 defines the public-key lookup through DNS TXT. The CNAME delegates that selector lookup to Microsoft’s managed key data. Use the records generated for your own domain and tenant.\n\nFollow the provider’s requested representation\n\nMicrosoft documents selector1._domainkey and selector2._domainkey, with both records required for rotation. Do not replace its requested CNAME with a copied public-key TXT record at the same owner. NameSilo supports CNAME publication; RFC 2181 prohibits other ordinary data at a CNAME owner.\n\nYour next steps\n\nObtain both tenant-specific selector targets\n\nPublish the two requested CNAME records\n\nComplete the provider’s DKIM activation\n\nTest a signed message and preserve both selectors\n\nFollow the provider’s requested representation\n\nMicrosoft documents selector1._domainkey and selector2._domainkey, with both records required for rotation. Do not replace its requested CNAME with a copied public-key TXT record at the same owner. NameSilo supports CNAME publication; RFC 2181 prohibits other ordinary data at a CNAME owner.\n\nVerified detail: Microsoft365 two CNAME selectors, managed keys and rotation.\n\nYour next step: Test a signed message and preserve both selectors.","steps":["Obtain both tenant-specific selector targets","Publish the two requested CNAME records","Complete the provider’s DKIM activation","Test a signed message and preserve both selectors"],"faqs":[],"sources":[{"name":"Official supporting source","url":"https://learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure"},{"name":"IETF RFC 6376 §3.6.2","url":"https://www.rfc-editor.org/rfc/rfc6376.txt#section-3.6.2"},{"name":"IETF RFC 2181 §10.1","url":"https://www.rfc-editor.org/rfc/rfc2181.txt#section-10.1"},{"name":"NameSilo Add DNS Records","url":"https://www.namesilo.com/api-reference/pages?uid=dns/dns-add-record"}],"json":"https://www.namesilo.com/questions/data/can-a-dkim-record-be-a-cname-instead-of-a-txt-record.json","markdown":"https://www.namesilo.com/questions/data/can-a-dkim-record-be-a-cname-instead-of-a-txt-record.md"}