CNAME record

A DNS record that says one name is an alias for another name, so the lookup continues with the second name.

In more detail

CNAME stands for canonical name. The record points at another name, not at an address, and the resolver then looks that name up. A name that has a CNAME record cannot have other records of its own.

Examples

A Kubernetes ExternalName Service makes cluster DNS return a CNAME answer.
CNAME stands for canonical name. www.example.com can be a CNAME to a hosting provider's name, whose A records then give the address. A name with a CNAME cannot hold other record types.

Related terms

Taught in

References

Certification courses