Historical statistics for public authoritative DNS resolution
Operation description
Real-time data statistics are aggregated hourly.
Try it now
Test
RAM authorization
|
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.
|
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.