All Products
Search
Document Center

Alibaba Cloud DNS:DescribeInterAuthStatisticsHistory

Last Updated:May 29, 2026

Historical statistics for public authoritative DNS resolution

Operation description

Real-time data statistics are aggregated hourly.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

alidns:DescribeInterAuthStatisticsHistory

get

*All Resource

*

None None

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

StartTimestamp

integer

No

The start of the time range to query. This value is a Unix timestamp in milliseconds.

1474335170000

EndTimestamp

integer

No

The end of the time range to query. This value is a Unix timestamp in milliseconds.

Warning A large time range for a domain with a high volume of resolution logs may cause query timeouts or inaccurate results.

1741526400000

ServerRegion

string

No

The server region.

ap-southeast-3

StatisticalType

string

No

The statistical metric type.

PROTOCOL 其它: PROTOCOL:DNS请求UDP协议、TCP协议维度统计(仅全局域名统计) QTYPE:DNS请求记录类型分布,如A、AAAA、CNAME、MX 等 RCODE:DNS否定应答统计 SUCCESS_RATIO:SUCCESS_RATIO:平均解析成功率(解析成功率 = 返回与请求记录类型(QTYPE)匹配的有效应答次数 / 总解析次数) REQUEST:DNS请求量统计,展示QPS查询趋势

ZoneName

string

No

The zone name.

lisheng999.com

DomainName

string

No

The domain name. You can get this value by calling the DescribeDomains operation.

dns-example.top

Rcode

string

No

The DNS response code.

0

Response elements

Element

Type

Description

Example

object

The response object.

RequestId

string

The ID of the request.

6856BCF6-11D6-4D7E-AC53-FD579933522B

Data

array<object>

An array of data objects.

object

The statistical data.

Timestamp

integer

The timestamp of the data point in milliseconds.

1706716800000

Count

integer

The request count.

20

ZoneName

string

The zone name.

mt2.cn

DomainName

string

The domain name.

example.com

Protocol

string

The DNS query protocol.

  • UDP

  • TCP

HTTP

Qtype

string

The query type.

A

Ratio

integer

The success rate or ratio.

100

Examples

Success response

JSON format

{
  "RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
  "Data": [
    {
      "Timestamp": 1706716800000,
      "Count": 20,
      "ZoneName": "mt2.cn",
      "DomainName": "example.com",
      "Protocol": "HTTP",
      "Qtype": "A",
      "Ratio": 100
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.