Validates the ownership of a specified domain name.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | VerifyDcdnDomainOwner |
The operation that you want to perform. Set the value to VerifyDcdnDomainOwner. |
DomainName | String | Yes | **example**.com |
The domain name of which you want to validate the ownership. You can specify only one domain name in each call. |
VerifyType | String | Yes | dnsCheck |
The method that you want to use to validate the ownership of the specified domain name. Default value: dnsCheck. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Content | String | verify_dffeb6610035dcb77b413a59c32cd9** |
The content to be verified. |
RequestId | String | 34AB41F1-04A5-496F-8C8D-634BDBE6A9FB |
The ID of the request. |
Examples
Sample requests
http(s)://dcdn.aliyuncs.com/? Action=VerifyDcdnDomainOwner
&DomainName=**example**.com
&VerifyType=dnsCheck
&<Common request parameters>
Sample success responses
XML
format
<VerifyDcdnDomainOwnerResponse>
<Content>verify_dffeb6610035dcb77b413a59c32cd91f</Content>
<RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>
</VerifyDcdnDomainOwnerResponse>
JSON
format
{
"Content": "verify_dffeb6610035dcb77b413a59c32cd9**",
"RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | DomainOwnerVerifyFail | Owner verification of the root domain failed. | The error message returned because you have not proved your ownership of the specified domain name. Starting June 12, 2020, you must prove that you are the owner of a new domain name the first time you add the domain name to DCDN. To call the AddDcdnDomain operation, you must add a DNS record or upload a valid verification file to prove your ownership of the specified domain name. The Alibaba Cloud China site: https://help.aliyun.com/document_detail/183491.html. The Alibaba Cloud International site: https://www.alibabacloud.com/help/zh/doc-detail/183491.htm. |
For a list of error codes, visit the API Error Center.