All Products
Document Center

Step 3: Configure CNAME

Last Updated: Jan 24, 2019

To use Dynamic Route for CDN, you must point your Dynamic Route for CDN domain name to the CNAME address provided by Alibaba Cloud by adding a CNAME record. This is the only way to direct the access request to the CDN node and enable acceleration.

To configure CNAME, go to your domain name resolution service provider (such as Alibaba Cloud DNS, DNSPod, Xinnet, and so on). The domain name resolution of the example in this document is completed by Alibaba Cloud DNS.


Step 1. Obtain the CNAME of the CDN domain name

Copy the CNAME that corresponds to the Dynamic Route for CDN domain name in the domain name list in the Domain Name Management area of the Dynamic Route for CDN console:

Step 2. Add CNAME record

  1. Open the Alibaba Cloud DNS page Domain Name Resolution Console, and go to the domain name resolution page. Choose Add Record.

    add record

  2. Set the parameters as follows:

    • Type of record: CNAME.

    • Host record: the prefix of the Dynamic Route for CDN domain name. (For example, if the Dynamic Route for CDN domain name to be added is, use the prefix test).

    • Record value: the CNAME value replicated in Step 1.

    • Resolution path and TTL: default value.


  3. Click Confirm to complete CNAME configuration. Dynamic Route for CDN service is enabled immediately after the CNAME configuration takes effect.


    • A newly added CNAME record takes effect immediately. Modifications to a CNAME record take up to 72 hours to take effect.

    • In the event of an Adding Conflict, use another Dynamic Route for CDN domain name, or follow the Resolution Conflict Rules to adjust the conflicting records yourself.

    • By default, Dynamic Route for CDN uses Pure Dynamic Acceleration to accelerate all resources, including static resources that are not cached but are obtained in a back-to-origin process. Define the types of static files by configuring the Dynamic and Static Resources Rules. This way, dynamic resources are dynamically accelerated and static resources statically accelerated, ensuring the best acceleration result.


Different DNS service providers can vary in how long it takes for a CNAME to take effect after its configuration.

You can ping or dig the Dynamic Route for CDN domain name you added. If you are redirected to *.*kunlun*.com, both the configured CNAME and the Dynamic Route for CDN service have taken effect.