All Products
Search
Document Center

HTTPDNS:Add a domain name for custom resolution

Last Updated:Sep 21, 2022

This topic describes how to create software-defined DNS (SDNS) rules to implement custom domain name resolution.

Prerequisites

Procedure

  1. Log on to the Enterprise Mobile Application Studio (EMAS) console.

  2. Go to the HTTPDNS console. The Overview page appears by default.

  3. In the left-side navigation pane, click SDNS.

  4. Click Add Domain Name for Custom Resolution. In the Add Domain Name for Custom Resolution panel, select the domain name for which you want to configure SDNS.

  5. Set Region, Service, and Service Version/Alias based on configurations of your Function Compute service, and specify the custom resolution functions.

  6. Click Test. After the test succeeds, click OK. Then, the added domain name appears in the SDNS rule list.fig00

  7. Enable SDNS for the domain name.

    When the Function Compute service is in the Normal state, you can turn on or off the switch for custom resolution to enable or disable custom resolution for the domain name.

    Note

    When you enable or disable custom resolution, a verification code is sent to your mobile phone to secure your account.

    fig1

What to do next

  • View Configuration: Click View Configuration in the Actions column corresponding to a domain name to view its SDNS configuration.

  • Modify Configuration: Click Modify Configuration in the Actions column corresponding to a domain name to modify the region, service, service version, and custom resolution functions. After the test succeeds, click OK to make the configuration take effect.

Note

If you modify the configuration while SDNS is enabled for the domain name, a verification code is sent to your mobile phone to secure your account.

  • Delete Configuration: Click Delete Configuration in the Actions column corresponding to a domain name to delete the SDNS configuration of the domain name. Then, a verification code is sent to your mobile phone to secure your account.