Looking up CNAME record...
A **CNAME (Canonical Name)** record is a type of DNS record that maps an alias name to a true or canonical domain name. Essentially, a CNAME record acts as a redirect at the DNS level. When a DNS resolver finds a CNAME record, it stops its query for the alias and starts a new query for the canonical name.
CNAME records are particularly useful for pointing multiple hostnames to a single location without having to assign a specific A record to each one. For example:
www.example.com
, ftp.example.com
, and mail.example.com
all be CNAMEs pointing to the root domain example.com
.example.com
changes, you only need to update its single A record, and all the CNAMEs pointing to it will automatically follow.blog.yourdomain.com
) to a hostname they provide (e.g., your-name.github.io
).You cannot place a CNAME record on a root domain (e.g., example.com
). The DNS protocol forbids a CNAME record from coexisting with any other records (like MX, NS, SOA) for the same hostname. Since a root domain must have NS and SOA records, it cannot have a CNAME.
CNAMEs should only be used for subdomains (e.g., www.example.com
, shop.example.com
).
The structure of a CNAME record is as follows:
[Alias Name] [TTL] IN CNAME [Canonical Name]
www.example.com
).example.com
or ghs.googlehosted.com
).Our tool checks for a CNAME record on the hostname you provide and also attempts to resolve the IP address of the final canonical target.