Call the DescribeDcdnDomainCname operation to check the canonical name (CNAME) resolution for an accelerated domain name. View the result to determine if the CNAME is configured.
Operation description
The API call frequency for a single user is 80 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnDomainCname |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name. Separate multiple domain names with commas (,). |
example.com,example.org |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
15C66C7B-671A-4297-9187-2C4477247A74 |
| CnameDatas |
object |
||
| Data |
array<object> |
The CNAME information. |
|
|
object |
|||
| Status |
integer |
The status of the CNAME configuration. A value of 0 indicates success. Other values indicate a fault.
|
0 |
| Domain |
string |
The accelerated domain name. |
.example.com |
| Cname |
string |
The CNAME assigned to the domain name by Alibaba Cloud DCDN. |
a.com.w.alikunlun.net |
| Passed |
string |
||
| ErrMsg |
string |
Examples
Success response
JSON format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"CnameDatas": {
"Data": [
{
"Status": 0,
"Domain": ".example.com",
"Cname": "a.com.w.alikunlun.net",
"Passed": "",
"ErrMsg": ""
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.