mailskop.
All terms

Glossary · DNS infrastructure

CNAME record

Canonical Name

A CNAME record declares that one name is an alias of another; if a name has a CNAME, no other records should exist at that name (RFC 1034 §3.6.2).

By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim

How it works

That is why a CNAME cannot be used at the root of a domain, where the SOA and NS records live. The name an MX or NS record points to cannot be an alias either: if MX 10 mail.example.com is written, mail.example.com must be an A/AAAA record (RFC 2181 §10.3).

CNAMEs also have legitimate uses in email: Microsoft 365’s DKIM selectors (selector1._domainkey, selector2._domainkey) are CNAME records pointing to the key in the tenant; the provider renews the key and the record stays the same.

Example record

selector1._domainkey.ornek.com.tr.  CNAME  selector1-ornek-com-tr._domainkey.ornek.onmicrosoft.com.

Last updated: