Forward zone

Updated at:

Configure forward rules for On-premises DNS to forward DNS queries to external DNS servers.

Create a forward rule

  1. Go to Alibaba Cloud DNS Private Zone.

  2. On the Forward Zone page, click the Forward Rule tab, and then click Add Forward Rule.

  3. Fill out the form and submit it.

    Form item

    Description

    Forward Zone

    Enter the domain (Zone) for which you want to forward DNS queries.

    Important
    • To forward queries for all domains, enter a period (.).

    • Top-level domain (TLD) forwarding is supported. For example, enter com, cn, or top.

    • If a query matches multiple forward zones, such as example.com, com, and ., the rule for the most specific domain (example.com) takes precedence based on the longest-match principle.

    Forward to Address

    Specify the IP addresses and ports of the destination DNS servers. You can add up to six servers. Both private and public IP addresses are supported.

    Effective Scope

    Set the effective scope of the forward rule:
    On the Effective in on-premises DNS clusters drop-down list, select the corresponding resolution cluster.

  4. After you submit the form, the new forward rule is added to the list.

Modify a forward rule

Once a forward rule is created, the rule type and forward zone cannot be modified. You can edit the forward to address and effective scope.

  1. Go to the Alibaba Cloud DNS Private Zone console.

  2. To modify the forward to address: On the Forward Zone tab, select Forward Rule. Then, click Modify in the Actions column of the target rule.

    To modify the effective scope: On the Forward Zone tab, select Forward Rule. Then, click Effective Scope in the Actions column of the target rule.

  3. Modify the settings and submit the form.

Delete a forward rule

  1. Go to the Alibaba Cloud DNS Private Zone console.

  2. On the Forward Zone tab, select Forward Rule, and click Delete in the Actions column of the target rule.

  3. In the dialog box that appears, confirm the deletion.

    Important

    If the forward rule is associated with a VPC, you must disassociate it from the VPC before you can delete the rule.