Check Resolution Record Validity

Last Updated: May 27, 2016

Description

Checks whether the specified resolution record exists (is valid) in the authoritative DNS.

Request Parameters

Name Type Required? Description
Action String Yes Operation interface name, required parameter. Value: CheckDomainRecord
DomainName String Yes Domain name
Type String Yes Record type
RR String Yes Host record
Value String Yes The record value

Return Parameters

Public return parameters. For details, see Public Return Parameters

Name Type Description
RequestId String The unique request identifier
IsExist Boolean Determines whether the resolution record exists.true: exists, false: does not exist.

Error Codes

For errors common to all interfaces, please refer to the Error Code Table .

Error Code Description HTTP Status Code Meaning
InvalidDomainName.Format The format of domain is error. 400 Domain name format error
InvalidDomainName.Suffix The domain suffix isnot been supported. 400 The domain name suffix is not supported
InvalidDomainName.Unregistered The domain name is not registered. 400 The domain name is not registered
IncorrectDomainUser The domain name does not belong to this user. 400 The domain name does not exist under this account

Example

Request Example

http://dns.aliyuncs.com/?Action=CheckDomainRecord
&DomainName=example.com
&Type=TXT
&RR=zhaohui
&Value=fd87da3c4528844d45af39200155a905
&<Public Request Parameters>

Return Example

XML Format

<CheckDomainRecordResponse>
    <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
    <IsExist>true</isExist>
</CheckDomainRecordResponse>

JSON Example

{
    "RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
    "IsExist": false
}
Thank you! We've received your feedback.