Skip to content

CNAME Record

A CNAME (Canonical Name) record is a type of DNS record that maps an alias or nickname to a canonical name, redirecting queries from one name to another.

Definition

What it is

Example

If www.example.com has a CNAME pointing to example.com, any query for www.example.com will be resolved using the IP address associated with example.com.

Limitations

A CNAME record cannot coexist with other records at the same name (e.g., there cannot be a CNAME and an MX at the same host). It is also not recommended for use at the zone apex (the root domain) in most DNS implementations.

Connections

Semantic network

CNAME RecordDNSDNSNameserverA RecordAAAA RecorMX Record

● broader ● narrower ● related

Sources