Dynamic Route for CDN (DCDN) supports wildcard domain names acceleration. This topic describes wildcard domain names and how to accelerate wildcard domain names by using DCDN.

What is acceleration of wildcard domain names?

Wildcard domain names acceleration refers to the accelerated domain names that contain wildcards. You can use wildcard domains to accelerate the content delivery for all corresponding second-level domain names. For example, . test.com is a wildcard domain name, and a.test.com is the second-level domain name of the wildcard domain name. b.a.test.com is the third-level domain name of the wildcard domain name.

Example: add . test.com as a wildcard domain name. When you map the wildcard domain name .test.com to the canonical name (CNAME) record that is generated by DCDN, all second-level domain names of .text.com can be mapped to the CNAME for acceleration. These second-level domain names include a.test.com and c.test.com.

  • DCDN does not support subdomains of a second-level domain. For example, the third-level domain name b.a.test.com of .test.com cannot be accelerated by DCDN.
  • If you refresh or prefetch content on a cache node, the URLs and directories of wildcard domain names are not supported. However, you can refresh or prefetch the URLs and directories of exact domains, including second-level domains. For example, refreshing or prefetching content from http://test.com/a/b.mp4 are not supported. However, the refresh or prefetch of http://a.test.com/a/b.mp4 are supported.

Rules for adding wildcard domain names

To add a wildcard domain name, perform the following rules:
  • Each DCDN domain name must be less than 100 bytes in length.
  • Wildcard domain names can be added in the following formats: . test.com and test.com. After you add a wildcard domain name in either of the formats, the wildcard domain name is displayed as .test.com in the console.
  • DCDN supports up to three levels of wildcard domain names. The domain name contains up to three periods (.). For example, *.b.test.com.
  • Similar to common domains, network traffic generated by all second-level domains of a wildcard domain name is charged. Network traffic that is generated by wildcard domain names is recorded in resource monitoring. The system provides billing data for all second-level domains of a wildcard domain name under the same DCDN domain.

Logs of wildcard domain names

A log file is recorded for a single wildcard domain name at specified intervals. The log file contains acceleration information for all second-level domains of the wildcard domain name. For more information, see Log management.


  1. Log on to the DCDN console.
  2. Use a wildcard domain name as a DCDN domain. For more information, see Add a domain.