Queries the DS records for a domain name.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | QueryDSRecord |
The operation that you want to perform. Set the value to QueryDSRecord. |
DomainName | String | Yes | example.com |
The domain name for which you want to query DS records. |
Lang | String | No | en |
The language of the error message to return. Valid values:
Default value: en. |
UserClientIp | String | No | 127.0.0.1 |
The IP address of the client. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
DSRecordList |
The list of DS records. |
||
Algorithm | Integer | 1 |
The ID of the encryption algorithm. For more information, see Domain Name System Security (DNSSEC) Algorithm Numbers. Valid values:
|
Digest | String | f58fa917424383934c7b0cf1a90f61d692745680fa06f5ecdbe0924e86de9598 |
The value of the digest. |
DigestType | Integer | 2 |
The type of the digest algorithm. For more information, see DS Resource Record (RR) Type Digest Algorithms. Valid values:
|
KeyTag | Integer | 1 |
The key tag that is used to identify the DNSSEC record. Valid values: 0 to 65535. |
RequestId | String | 814B2AF0-ED6F-4C13-B41C-8AC0B1023583 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=QueryDSRecord
&DomainName=example.com
&<Common request parameters>
Sample success responses
XML
format
<QueryDSRecordResponse>
<DSRecordList>
<DSRecord>
<Digest>f58fa917424383934c7b0cf1a90f61d692745680fa06f5ecdbe0924e86de9598</Digest>
<DigestType>2</DigestType>
<Algorithm>2</Algorithm>
<KeyTag>11</KeyTag>
</DSRecord>
<DSRecord>
<Digest>a55f53655743cf37f8dd69256f9f8780fd72eef30551fe24e747956221d42095</Digest>
<DigestType>2</DigestType>
<Algorithm>2</Algorithm>
<KeyTag>1</KeyTag>
</DSRecord>
</DSRecordList>
<RequestId>5FF5CB45-F34E-406C-8760-C51972EEC315</RequestId>
</QueryDSRecordResponse>
JSON
format
{
"DSRecordList":[
{
"DigestType":2,
"Digest":"f58fa917424383934c7b0cf1a90f61d692745680fa06f5ecdbe0924e86de9598",
"Algorithm":2,
"KeyTag":11
},
{
"DigestType":2,
"Digest":"a55f53655743cf37f8dd69256f9f8780fd72eef30551fe24e747956221d42095",
"Algorithm":2,
"KeyTag":1
}
],
"RequestId":"814B2AF0-ED6F-4C13-B41C-8AC0B1023583"
}
Error codes
For a list of error codes, visit the API Error Center.