Help Center/ Anti-DDoS Service/ FAQs/ AAD FAQs/ Product/ What Is a CNAME Record?
Updated on 2023-03-23 GMT+08:00

What Is a CNAME Record?

A Canonical Name (CNAME) record is a type of DNS record that maps an alias name to a true or canonical domain name. A DNS A record maps a domain name to an IP address, whereas a CNAME record maps a domain name to another domain name (alias of that domain name). For example, the alias of www.abc.com is ccd01c25c8535fa4.huaweisafedns.com. When a user accesses www.abc.com, DNS obtains its alias ccd01c25c8535fa4.huaweisafedns.com and uses the alias to obtain the real IP address. The resolution is automatically completed by DNS.