Checks whether canonical name (CNAME) records are configured for one or more accelerated domains.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeDcdnDomainCname |
The operation that you want to perform. Set the value to DescribeDcdnDomainCname. |
DomainName | String | Yes | example.com,example.org |
The names of the accelerated domains. If you need to specify multiple accelerated domain names, separate them with commas (,). |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
CnameDatas | Array |
The CNAME information. |
|
Data | |||
Cname | String | *.com |
The CNAME. |
Domain | String | .example.com |
The name of the accelerated domain returned. |
Status | Integer | 0 |
The configuration status of the CNAME record. If the operations returns 0 for the parameter, the configuration was successful. Otherwise, the configuration failed. |
RequestId | String | 15C66C7B-671A-4297-9187-2C4477247A74 |
The ID of the request. |
Examples
Sample requests
http://dcdn.aliyuncs.com?Action=DescribeDcdnDomainCname
&DomainName=example.com,example.org
&<Common request parameters>
Sample success responses
XML
format
<DescribeDcdnDomainCnameResponse>
<RequestId>D27C81EF-90CA-4897-94AC-B73ADBFE4781</RequestId>
<CnameDatas>
<Data>
<Cname>*.com</Cname>
<Status>0</Status>
<Domain>.example.com</Domain>
</Data>
</CnameDatas>
</DescribeDcdnDomainCnameResponse>
JSON
format
{
"RequestId": "D27C81EF-90CA-4897-94AC-B73ADBFE4781",
"CnameDatas": {
"Data": [
{
"Cname": "*.com",
"Status": 0,
"Domain": ".example.com"
}
]
}
}
Error codes
For a list of error codes, visit the API Error Center.