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.
. 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
- DCDN does not support subdomains of a second-level domain. For example, the third-level
.test.comcannot 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.mp4are not supported. However, the refresh or prefetch of
Rules for adding wildcard domain names
- Each DCDN domain name must be less than 100 bytes in length.
- Wildcard domain names can be added in the following formats:
test.com. After you add a wildcard domain name in either of the formats, the wildcard domain name is displayed as
.test.comin the console.
- DCDN supports up to three levels of wildcard domain names. The domain name contains
up to three periods (.). For example,
- 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.