All Products
Search
Document Center

Alibaba Cloud DNS:DescribeInterAuthStatisticsHistory

Last Updated:Aug 31, 2026

Queries the trend of performance statistics for public authoritative resolution.

Operation description

  • Real-time data is aggregated by hour as the statistical dimension.

  • This operation is available only to customers who have been added to the whitelist. To use this operation, contact your account manager or submit a ticket to request whitelist access permissions.

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 time of the query. This value is a UNIX timestamp in milliseconds.

1474335170000

EndTimestamp

integer

No

The end time of the query. This value is a UNIX timestamp in milliseconds.

Warning If the query time range is large and the domain name has a high volume of resolution logs, the query may time out or return inaccurate results.

1741526400000

ServerRegion

string

No

The region of the resolution cluster.

ap-southeast-3

StatisticalType

string

No

The type of statistical metric.

PROTOCOL Others: PROTOCOL: statistics by UDP and TCP protocol dimensions for DNS requests (global domain name statistics only) QTYPE: distribution of DNS request record types, such as A, AAAA, CNAME, and MX RCODE: statistics on DNS negative responses SUCCESS_RATIO: average resolution success rate (resolution success rate = number of valid responses matching the request record type (QTYPE) / total number of resolutions) REQUEST: DNS request volume statistics, showing QPS query trends

ZoneName

string

No

The zone name.

lisheng999.com

DomainName

string

No

The domain name. You can call DescribeDomains to obtain the domain name.

dns-example.top

Rcode

string

No

The DNS response code.

0

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

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

Data

array<object>

The returned data list.

object

The request volume data list.

Timestamp

integer

The statistical timestamp. Unit: milliseconds.

1706716800000

Count

integer

The number of requests.

20

ZoneName

string

The zone name.

mt2.cn

DomainName

string

The domain name.

example.com

Protocol

string

The protocol type of the domain name resolution query request. Valid values:

  • UDP

  • TCP

HTTP

Qtype

string

The request record type.

A

Ratio

integer

The success rate or proportion.

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.