HTTPDNS query logs
Overview
If you have integrated Alibaba Cloud HTTPDNS by using an SDK, DoT/DoH, or JSON API, you can view domain name resolution details in the query logs.
The system provides query logs for Alibaba Cloud HTTPDNS only after the traffic analysis feature is enabled for this product. To enable it, go to the Alibaba Cloud DNS-HTTPDNS page and turn on the traffic analysis switch in the upper-right corner.
View query logs
Go to the Alibaba Cloud DNS-Logs page.
On the Query Logs tab, select HTTPDNS.
The list displays the details of HTTPDNS query logs. For the meaning of each field, see Query log fields below.
Time-based query: Filter logs by a pre-defined or custom time range. Logs from the last 180 days can be queried.
NoteIf the query returns too many logs, repeat the query multiple times. Logs are returned in batches.
Keyword-based query: Query the logs by keywords such as the zone name, source IP address, resolution result, DNS server IP address, and record type.
Query log fields
Resolution Time: The time when the HTTPDNS server responded to this query.
Resolution Delay (ms): The overall latency from when HTTPDNS receives a domain name query to when it returns the result.
Source IP Address: The IP address that initiated the domain name query, usually the IP address of the client.
ECS Client Subnet IP: A local DNS server (LocalDNS) that supports the EDNS Client Subnet (ECS) protocol converts the client source IP address to protect privacy and places it in the ECS protocol extension. The authoritative DNS server then uses the client source IP address included in the extension for more accurate scheduling.
Query Zone Name: The target domain name queried in this DNS request.
Query Record Types: The DNS record type of this query, such as A, AAAA, CNAME, TXT, or MX.
Access Protocol: The access protocol used for this DNS query, such as DoT, DoH, HTTP, or HTTPS.
Resolution Result: The domain name resolution result.
Response Status: Common statuses include the following:
Status | Description |
NOERROR | The DNS resolution succeeded. |
NXDOMAIN (Non-Existent Domain) | The queried domain name does not exist. |
SERVFAIL (Server Failure) | The query could not be processed because of a problem with the target DNS server. |
REFUSED | The DNS server refused to perform the specified operation for policy reasons. For example, the DNS server may refuse to provide resolution for the specified requester, or may refuse to perform a specific operation, such as a zone transfer, on the specified data. |
FORMERR (Format Error) | The DNS server could not interpret the query request. |
NOTIMP (Not Implemented) | The DNS server does not support the query type of this request. |
DROP | The DNS server drops the specified request for policy reasons, for example, when the request packet is malformed. |
DNS Server IP Address: The IP address of the DNS server that responded to this DNS query.