All Products
Search
Document Center

Edge Security Acceleration:DescribeDcdnDomainCname

Last Updated:Oct 17, 2024

Detects the CNAME for an accelerated domain name. You can check the resolution result to determine whether the CNAME is configured.

Operation description

Note You can call this operation up to 80 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DomainNamestringYes

The accelerated domain name. Separate multiple domain names with commas (,).

example.com,example.org

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

15C66C7B-671A-4297-9187-2C4477247A74
CnameDatasarray<object>

The CNAME information.

Dataobject
Statusinteger

The configuration status of the CNAME record. If the operation returns 0 for the parameter, the configuration was successful. Otherwise, the configuration failed.

0
Domainstring

The accelerated domain name.

.example.com
Cnamestring

The CNAME assigned to the domain name.

*.com

Examples

Sample success responses

JSONformat

{
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
  "CnameDatas": {
    "Data": [
      {
        "Status": 0,
        "Domain": ".example.com",
        "Cname": "*.com"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history