Symptoms
How do I check whether a CNAME record takes effect after I add the CNAME record for my accelerated domain name?
Causes
The ping command is used to test network connectivity, but is not an ideal option for you
to check CNAME settings. We recommend that you use one of the following methods to
check whether a CNAME record takes effect:
- Windows
On your on-premises computer, run the following commands:
- nslookup Domain name
- nslookup -qt=CNAME CNAME
- nslookup -qt=CNAME CNAME Domain name
The following result indicates that the CNAME record takes effect. - Linux
Use the telnet command to log on to the origin server, and run the following commands:
- dig Domain name
- dig CNAME CNAME
- dig CNAME CNAME @Domain name
The following result indicates that the CNAME record takes effect.