All Products
Search
Document Center

Alibaba Cloud DNS:Enable or disable traffic analysis

Last Updated:Nov 07, 2023

Overview

Traffic analysis incurs fees for logs. When you activate Private DNS, traffic analysis is disabled by default. You must enable traffic analysis as needed. If you have not enabled traffic analysis, the system displays a message indicating that simulation data is displayed after you click Traffic Analysis Mode. You can click Enable to enable traffic analysis.

  • If you have not activated the Private DNS service, you are redirected to the service activation page. You must activate the Private DNS service first. For more information, see Activate Private DNS.

  • If you have activated the Private DNS service, the Traffic Analysis Settings dialog box appears after you click Enable.

You can perform the following settings in the Traffic Analysis Settings dialog box:

Specify regions or VPCs: Select the regions or VPCs for which you want to enable traffic analysis.

Note

You can enable traffic analysis only for your own VPCs, but cannot enable traffic analysis for the VPCs that have been associated with authorized accounts.

Enable Simple Log Service (SLS): If you have enabled traffic analysis, you can activate the SLS service to store DNS logs. You can go to the SLS console to configure logging rules. For more information, see Enable log collection.

Important
  • By default, logs are printed for all regions and VPCs that have traffic analysis enabled. You can also select specific regions or VPCs to print logs.

  • You can store logs in SLS only for the regions and VPCs that have traffic analysis enabled. The prerequisite to store traffic analysis logs in SLS is that you have enabled traffic analysis. If you do not enable traffic analysis, no logs are stored in SLS.

Procedure

Enable traffic analysis

  1. Log on to the Alibaba Cloud DNS console.

  2. In the left-side navigation pane, click Private DNS (PrivateZone). On the page that appears, click Traffic Analysis Mode in the upper-right corner. In the Note dialog box, click Enable.

  3. In the Traffic Analysis Settings dialog box, set the regions or VPCs for which you want to enable traffic analysis and the location for deploying log analysis servers, and then click OK. image.png

Modify traffic analysis settings

  1. Log on to the Alibaba Cloud DNS console.

  2. In the left-side navigation pane, click Private DNS (PrivateZone). On the page that appears, click Traffic Analysis Mode in the upper-right corner and click Settings next to Enable Traffic Analysis. image.png

  3. In the Traffic Analysis Settings dialog box, modify the settings of regions, VPCs, and the location for deploying log analysis servers, and then click OK.

Disable traffic analysis

  1. Log on to the Alibaba Cloud DNS console.

  2. In the left-side navigation pane, click Private DNS (PrivateZone). On the page that appears, click Traffic Analysis Mode in the upper-right corner and turn off the switch before Enable Traffic Analysis. image.png

  3. In the Disable Confirmation message, click OK.