All Products
Search
Document Center

HTTPDNS:Get started with HTTPDNS

Last Updated:Jun 10, 2026

Activate HTTPDNS, add domain names, verify DNS resolution, and integrate the client SDK into your app.

Overview

If your mobile app uses a domain name such as www.example.com, users may experience redirects to malicious websites, stuttering, or disconnections caused by domain hijacking or inaccurate DNS scheduling. Integrating the HTTPDNS client SDK into your app prevents these issues. Complete the following steps to get started:

  1. Activate HTTPDNS.

  2. Add the domain name to resolve.

  3. Verify the resolution result.

  4. Run the sample Android, iOS, or HarmonyOS project to test the integration.

Step 1: Activate the service

  1. Log on to the EMAS console.

  2. Accept the agreements and click Submit.

  3. The EMAS service is now activated.

Note
  • Skip this step if you have already activated EMAS or created a project.

Step 2: Add a domain name

HTTPDNS resolves only domain names that you explicitly add. Without adding a domain name, HTTPDNS cannot resolve it or its subdomains.

  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 to resolve, and click OK.

image

The domain name is added. You can now verify the resolution.

Step 3: Verify the resolution

Verify that the domain name resolves correctly:

  1. Log on to the EMAS console.

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

  3. Enter the domain name and click Online Parse to view the resolution result.

Note

The result shows whether the domain name configuration is effective. Online Experience

image

Step 4: Run the sample project

The HTTPDNS console provides sample projects for multiple platforms to help you understand the integration process.

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

  2. Select and download the sample project for your platform, then run it locally.image

To use HTTPDNS in your mobile app or on your PC, integrate the client SDK: