All Products
Search
Document Center

HTTPDNS:Product usage flow

Last Updated:Mar 20, 2026

This topic describes how to activate and use HTTPDNS.

Overview

Suppose you have a mobile app that provides services through the domain name www.example.com. Some users might experience issues such as redirects to malicious websites, stuttering, or disconnections. These problems are often caused by domain hijacking or inaccurate scheduling. To solve these problems, you can integrate the HTTPDNS client software development kit (SDK) into your app. This topic guides you through the following steps:

  1. Activate the HTTPDNS service.

  2. Add the domain name that you want to resolve.

  3. Verify the resolution result using the HTTP API.

  4. Compile and run the sample Android, iOS, and Harmony projects provided by HTTPDNS to quickly integrate and verify the solution.

Step 1: Activate the service

  1. Log on to the EMAS console.

  2. Accept the agreements and click Submit.

  3. You have now activated the EMAS service.

Note
  • If you have already activated the EMAS service or created a project, you can skip this step.

Step 2: Add a domain name

To use HTTPDNS for Domain Name System (DNS) resolution, you must first add the domain name. Otherwise, HTTPDNS cannot resolve the domain name or its subdomains. Follow these steps to add a domain name:

  1. Log on to the EMAS console.

  2. In the navigation pane on the left, choose Website Config.

  3. Click Add Domain Name. Enter the domain name that you want to resolve and click OK.

image

image

The domain name is now added to the list, and you can proceed to verify the resolution.

Step 3: Verify the result

Follow these steps to quickly verify the added domain name:

  1. Log on to the EMAS console.

  2. In the navigation pane on the left, choose Configuration > Online Experience.

  3. Enter the domain name to verify. Then, click Online Parse to view the resolution result.

Note

The parsing result shows whether the domain name configuration is effective. For more information, see the Online Experience documentation.

image

Step 4: Run the sample project

The HTTPDNS console provides sample projects for multiple platforms. You can use these sample projects to understand the integration solution for each platform.

  1. In the Developer Configuration menu, click Download Sample Project.

  2. Select and download the sample project for your platform. Then, run it on your local computer.image

To use HTTPDNS features in your mobile app or on your PC, you must integrate the client SDK. For integration instructions, see the following documents: