Help Center/ Domain Name Service/ User Guide/ Resolver/ Managing Outbound Endpoints
Updated on 2024-08-09 GMT+08:00

Managing Outbound Endpoints

Scenarios

To allow cloud servers to access an on-premises domain name, you need to create an outbound endpoint and configure endpoint rules to specify the on-premises domain name to be accessed and the IP addresses of the on-premises DNS servers. Huawei Cloud private DNS then forwards the DNS queries for the on-premises domain name to the on-premises DNS servers based on the endpoint rules.

Process for Configuring an Outbound Endpoint

Figure 1 shows how you can configure an outbound endpoint to forward DNS queries for an on-premises domain name to the on-premises DNS servers.

Figure 1 Configuring an outbound endpoint

Creating an Outbound Endpoint

  1. Go to the Resolvers page.
  2. Click on the upper left and select the desired region and project.
  3. In the upper right corner of the page, click Create Endpoint.
  4. Configure the parameters based on Table 1.
    Figure 2 Creating an outbound endpoint
    Table 1 Parameters for creating an outbound endpoint

    Parameter

    Description

    Endpoint Type

    Type of the endpoint. There are two options: Inbound and Outbound.

    Select Outbound.

    Endpoint Name

    Name of the endpoint. The name can:

    • Contain only letters, digits, underscores (_), hyphens (-), and periods (.).
    • Contain 1 to 64 characters.

    Region

    Region where the outbound endpoint works.

    VPC

    The VPC over which all outbound DNS requires are forwarded to the IP addresses specified in the endpoint rules.

    CAUTION:

    The VPC cannot be changed after an endpoint is created.

    Subnet

    The subnet must have available IP addresses. Only IPv4 addresses are supported.

    IP Address

    There are two options: Automatically assign or Specify.

    NOTE:

    To improve reliability, you need to specify at least two IP addresses, with each in a different AZ.

    You can optionally add more IP addresses.

  5. Click OK.

After an outbound endpoint is created, you need to configure endpoint rules. For details, see Modifying an Outbound Endpoint or Adding an Endpoint Rule.

Viewing an Outbound Endpoint

  1. Go to the Resolvers page.
  2. Click on the upper left and select the desired region and project.
  3. On the Outbound Endpoints tab, locate the outbound endpoint you want to view.
  4. Click the name of the outbound endpoint and view its details, such as basic configuration, IP addresses, and endpoint rules.

Modifying an Outbound Endpoint

  1. Go to the Resolvers page.
  2. Click on the upper left and select the desired region and project.
  3. On the Outbound Endpoints tab, locate the outbound endpoint you want to modify.
  4. Click Modify in the Operation column.

    You can change the endpoint name, add or delete IP addresses, and add or delete endpoint rules.

Deleting an Outbound Endpoint

  1. Go to the Resolvers page.
  2. Click on the upper left and select the desired region and project.
  3. On the Outbound Endpoints tab, locate the outbound endpoint you want to delete.
  4. Click Delete in the Operation column.
  5. Confirm the outbound endpoint and click OK.

Related Operations

Adding an Endpoint Rule