DescribeDomainCname
Checks the DNS resolution of the CNAME for accelerated domain names to verify whether the CNAME configuration is complete.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeDomainCname |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain names to query. Separate multiple domain names with commas (,). You can specify up to 30 domain names in a single query. |
example.com,example.org |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The check results. |
||
| RequestId |
string |
The request ID. |
06D29681-B7CD-4034-A8CC-28AFFA213539 |
| CnameDatas |
object |
||
| Data |
array<object> |
The array of CNAME check results. |
|
|
object |
The CNAME information. |
||
| Status |
integer |
The CNAME check result. Valid values:
Valid values:
|
0 |
| Domain |
string |
The accelerated domain name specified in the request parameters. |
a.com |
| Cname |
string |
The CNAME allocated to the domain name by Content Delivery Network (CDN). |
a.com.w.alikunlun.net |
| Passed |
string |
Indicates whether the CNAME assigned to the domain name is successfully detected through DNS resolution. Valid values:
|
true |
| ErrMsg |
string |
The error message returned when the detection of the CNAME assigned to the domain name through DNS resolution fails or times out. |
timeout |
Examples
Success response
JSON format
{
"RequestId": "06D29681-B7CD-4034-A8CC-28AFFA213539",
"CnameDatas": {
"Data": [
{
"Status": 0,
"Domain": "a.com",
"Cname": "a.com.w.alikunlun.net",
"Passed": "true",
"ErrMsg": "timeout"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DomainNameOverLimit | A maximum of 30 domains are supported for each request. | |
| 403 | InvaildParameter | The parameter you provided is invalid. | The format of the domain name is invalid. Correct the format and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.