Forwarding management

更新时间:
复制 MD 格式

You can configure a self-managed DNS to forward domain name queries to an external DNS. This topic describes how to use this forwarding feature.

Create a forwarding rule

  1. Navigate to Alibaba Cloud DNS for PrivateZone.

  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 resolution requests.

    Important
    • To forward all domain names (root domain), enter a period (.).

    • To forward top-level domains, you can enter values such as com, cn, or top.

    • If a resolution request matches multiple forwarding domains, such as example.com, com, and ., the rule with the longest matching zone takes precedence. In this case, the request hits example.com.

    Rule Name

    Name the rule based on your business needs.

    Forward to Address

    The IP address and port of the server where DNS query traffic is forwarded. You can add up to six server entries. Both private and public IP addresses are supported.

  4. Set the scope of the forwarding rule by selecting the corresponding resolution cluster from your self-managed DNS cluster. After you submit the form, the new forwarding rule is added to the forwarding rule list.

Modify a Forward Rule

  1. Go to Alibaba Cloud DNS Private Zone.

  2. On the Forward Zone page, select the Forward Rule tab, find the target Forward Rule, and then click Modify in the Actions column.

  3. Modify the form items and submit the form.

Delete a Forward Rule

  1. Go to Alibaba Cloud DNS Private Zone.

  2. On the Forward Zone page, select the Forward Rule tab, find the target Forward Rule, and then click Delete in the Actions column.

  3. A prompt appears asking you to confirm the node deletion.

    Important

    If the current Forward Rule is associated with a VPC, you must first disassociate the VPC from the rule before you can delete the rule.