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:

  • zh: Chinese
  • en: English

Default value: en.

UserClientIp String No

The IP address of the client.

Response parameters

Parameter Type Example Description

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:

  • 1: RSA/MD5
  • 2: Diffie-Hellman
  • 3: DSA/SHA-1
  • 5: RSA/SHA-1
  • 6: DSA-NSEC3-SHA1
  • 8: RSA/SHA-256
  • 10: RSA/SHA-512
  • 12: GOST R 34.10-2001
  • 13: ECDSA Curve P-256 with SHA-256
  • 14: ECDSA Curve P-384 with SHA-384
  • 15: Ed25519
  • 16: Ed448
  • 252: Reserved for Indirect Keys
  • 253: private algorithm
  • 254: private algorithm OID
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:

  • 1: SHA-1
  • 2: SHA-256
  • 3: GOST R 34.11-94
  • 4: SHA-384
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.


Sample requests

http(s)://[Endpoint]/? Action=QueryDSRecord
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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