Recursive Gateway query logs

Updated at:

Overview

If you access Recursive Gateway by binding a public egress IP address, you can view domain name resolution details in the query logs.

Important

The system provides query logs for Recursive Gateway only after the traffic analysis feature is enabled for this product. To enable it, go to the Alibaba Cloud DNS-Recursive Gateway page and turn on the traffic analysis switch in the upper-right corner.

View query logs

  1. Go to the Alibaba Cloud DNS-Logs page.

  2. On the Query Logs tab, select Recursive Gateway.

    The list displays the details of Recursive Gateway query logs. For the meaning of each field, see Query log fields below.

  3. Time-based query: Filter logs by a pre-defined or custom time range. Logs from the last 180 days can be queried.

    Note

    If 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, and record type.

Query log fields

Note

The resolution result field is not displayed. This does not indicate a resolution failure. Use Response Status to determine whether the resolution is normal.

Response Time: The time when the Recursive Gateway server responded to this query.

Source IP Address: The IP address that initiated the domain name query, usually the egress IP address of the enterprise gateway.

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 UDP or TCP.

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 current account has an overdue payment, or the AccessKey pair is incorrect.