All Products
Search
Document Center

HTTPDNS:Use the product

Last Updated:Oct 18, 2022

This topic describes how to use the product and provides links to the related topics.

Getting started

Activate EMAS

HTTPDNS is a service provided by Enterprise Mobile Application Studio (EMAS). Please activate EMAS first.

Add domain names

You need to add the domain names to be resolved to the domain name list in the HTTPDNS console. You can only resolve domain names specified in the domain name list. For more information about how to add a domain name, see Manage domain names.

Custom domain name resolution

The custom resolution feature of HTTPDNS works as follows:

  • You input custom parameters in your client application.

  • The server processes the custom functions to implement complex custom resolution.

  • The custom resolution result is returned.

For more information about how to use custom domain name resolution, see Overview.

Quick verification

You can verify the specified domain name.

Enter the test URL: http://47.74.222.190/902379/d?host=www.aliyun.com

Note

Replace accountId and domain name with the corresponding values specified in the console.

The returned result is similar to the following:

{
"host":"www.aliyun.com",
"ips":[
"10.0.0.1",
"10.0.0.2"
],
"ttl": 596,
"origin_ttl": 600,
"client_ip":"192.168.XX.XX",
"extra": "some-thing-send-to-user"
}

Integration with client applications

HTTPDNS provides easy-to-use APIs and simple code so that you can access the service in your application. For mobile apps, HTTPDNS also provides SDKs for integration.

SDK download link:

For more information about how to integrate HTTPDNS with your application, see:

View resolution volume

In the domain name list, you can check the resolution volume implemented based on HTTP and HTTPS protocols for the current month or the last 30 days. For more information, see Manage domain names.