CNAME Resolution Configuration
The following explains how to configure CNAME resolution using Huawei Cloud DNS as an example (example domain: www.example.com).
Step 1 Obtaining the CNAME Record
- Log in to the CDN console.
- In the navigation pane, choose Domains.
- In the domain name list, locate www.example.com and copy the CNAME www.example.com.9c****e7.cdnhwcedi10.com from the CNAME column.
- If your DNS is hosted on Huawei Cloud, proceed to Step 2 Configuring CNAME in DNS. Otherwise, configure the resolution at your third-party DNS provider.
Step 2 Configuring CNAME in DNS
- Log in to the DNS console.
- In the navigation pane, choose Public Zones.
- Click the domain name to which you want to add a record set.
- Click Add Record Set. The Add Record Set page is displayed.
- Set the parameters based on the example values in Table 1.
- Click OK.
- Once active, the status of a CNAME record will change to
. If the status changes to
, verification fails, indicating that no CNAME record is configured for the domain name. If you verified your settings are correct, you can safely ignore this temporary warning. - New CNAME records take effect immediately after being added. Modified CNAME records may take up to 72 hours to take effect.
- If you encounter a resolution conflict, see Rules for Handling Record Set Conflicts.
- Once active, the status of a CNAME record will change to
Step 3 Verifying the CNAME Record
The time it takes for a CNAME record to take effect varies by DNS provider. You can verify if your CNAME record is active by using the following method:
Open the Windows Command Prompt (cmd) and run the following command:
nslookup -qt=cname Acceleration domain name
If the command output returns your copied CNAME, the configuration has taken effect.
