Private Zone DNS Firewall Security Logs

Updated at:

When a DNS query from the specified scope hits a configured custom rule or threat intelligence rule, a security log is generated. You can use the Security Logs feature to view detailed logs about the response actions taken for these queries.

Procedure

  1. Go to Alibaba Cloud DNS - Log Service.

  2. In the left-side navigation pane, choose Security Logs > Private Zone DNS Firewall.

    The page displays filtering options, including the Private Zone tab, the Scope drop-down list, a time range selector, the Queried Domain Name input box, and a fuzzy search option. The table below includes columns such as Response time, Source IP address, Queried domain name, Threat intelligence type, Severity, Confidence level, Query record type, Protocol, Rule type, and Authoritative server IP.

Fields

Note

If a queried domain name hits a Custom Rules, the fields for Threat Intelligence Type, Severity, and Confidence Level are empty because these parameters do not apply.

Field

Description

Responded At

The time when the DNS server sent a response.

Source IP Address

The IP address of the client that initiated the DNS query.

Query Zone Name

The target domain name of the DNS query.

Threat Intelligence Type

The category of the threat intelligence, such as virus, trojan, remote control, Advanced Persistent Threat (APT), exploit, anomalous communication, supply chain attack, ransomware, cryptomining, phishing, or compliance risk. By default, All Types is selected.

Severity

Indicates the severity of potential harm or the degree of association with malicious activities. The levels are High Risk, Medium severity or above, and Low severity or above, reflecting the potential attack types and scope of impact. By default, High Risk is selected.

Confidence Level

Indicates the reliability of the threat assessment. A high confidence level means the intelligence source is reliable and the evidence is strong. A low confidence level may indicate insufficient data or disputed findings. The levels are Low and above, Medium and above, and High. By default, High is selected.

Query Record Types

The type of DNS record requested in the query, such as A, AAAA, CNAME, or MX.

Protocol

The protocol used for the DNS query. This is typically UDP for recursive DNS queries from enterprise networks, or HTTP/HTTPS for mobile DNS (HTTPDNS) queries.

Resolution Results

The result of the DNS resolution.

Response Action

The action to perform on DNS queries that match the rule. The following actions are available:

  • Allow: Allows the query to proceed. This action generates an action log and a detailed response log.

  • Drop: Silently drops the query without sending a response.

  • Response NXDOMAIN: Responds with an NXDOMAIN status, indicating that the domain does not exist.

  • Response Address: Responds to the query with a specific address. You can configure multiple addresses and distribute responses using weighted or round-robin methods. The record value type must match the specified Record Type. If Record Type is set to Any type, the record value can be an IPv4 address, an IPv6 address, or a domain name. However, you cannot use both domain names and IP addresses in the same rule.

  • Answer NOERROR (NoData): Responds with a NOERROR status but an empty answer section in the response.

Hit Rule ID

The ID of the rule that the DNS query matched. Click the ID to view the rule's details.

Rule Type

The type of rule that the query matched: Threat Intelligence Rules or Custom Rules.

Server IP

The IP address of the authoritative server that answered the DNS query.

Filter logs

Filter by scope

By default, security logs from all scopes are displayed. You can select a specific scope (VPC) to view its logs.

Filter by time range

You can query logs from any time range within the last year.

Filter by keyword

You can search for logs by using keywords, such as a domain name.