Queries the DNS record of a domain name.


You can call the DescribeDomainResolve operation to query the DNS record of a domain name. This operation can retrieve DNS records only from Alibaba Cloud DNS. Before you can call this operation, make sure that your domain name is hosted on Alibaba Cloud DNS.


You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.


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 DescribeDomainResolve

The operation that you want to perform.

Set the value to DescribeDomainResolve.

Domain String Yes www.aliyun.com

The domain name whose DNS record you want to query.

SourceIp String No 192.0.XX.XX

The source IP address of the request.

Lang String No zh

The natural language of the request and response.

Valid values:

  • zh: Chinese
  • en: English
IpVersion String No 6

The IP version of the asset that is protected by Cloud Firewall.

Valid values:

  • 4: IPv4 (default)
  • 6: IPv6

Response parameters

Parameter Type Example Description
RequestId String CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D

The ID of the request.

ResolveResult Struct

The details about the DNS record of the domain name.

IpAddrs String,

The IP address to which the domain name is resolved. Multiple IP addresses are separated by commas (,).

UpdateTime Long 1579091739

The time when the domain name was resolved. The value of this parameter is a timestamp.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

	"RequestId": "412AF3C5-B225-4606-8323-A8924F796F16",
	"ResolveResult": {
		"IpAddrs": "12.3.4,,",
		"UpdateTime": 1586765803