Validates the ownership of a specified domain name.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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.


Sample requests

http(s):// Action=VerifyDcdnDomainOwner
&<Common request parameters>

Sample success responses

XML format


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.

For a list of error codes, visit the API Error Center.