The EMAS console provides an online testing feature to help you quickly test the core capabilities of HTTPDNS.
Access the page
Log on to the EMAS console.
Select the HTTPDNS product. In the navigation pane on the left, choose Integration Configuration > Online Testing.

Proprietary protocol
By default, the page uses the proprietary protocol to test domain name resolution.
What is the proprietary protocol?
The proprietary protocol is a custom HTTP API for HTTPDNS. It supports features such as request encryption, batch resolution, request signing, and service parameter-based scheduling. For more information, see Domain Name Resolution API.
Procedure
In the parameter settings area, enter a domain name and set the parameters.

Configuration item
Description
Required
Domain name for resolution
The domain name to resolve.
Yes
Client IP
Editable. The default value is the source IP address of the client connection. Use this parameter to simulate different network environments.
No
Custom SDNS parameters
Lets you add up to 10 service-related parameters.
No
Parse type
Select the record types to resolve. Multiple types are supported.
No
Encryption mode
Select the encryption method for the request.
Yes
Request signing
If enabled, requests are signed and verified.
No
Click the Resolve button to send the request. The request URL is generated in real time and can be copied. After the resolution is complete, the response information appears in the Resolution Results area.

Client IP: The public IP address of the device that sends the domain name resolution request.
Region: The geographic region of the client IP address.
Line: The service provider (SP), such as China Telecom, China Unicom, or China Mobile, or the network path type. This parameter distinguishes between the network environments of different carriers.
Number of domain names resolved: The number of domain names included in the resolution request.
Details:
Resolution status
Display format
Result details
Resolution successful
The resolution results for each domain name are displayed in a table.
Includes the following fields:
Domain name for resolution: The domain name in the original request.
IP type: A or AAAA.
IP address: The IP address returned from the resolution.
TTL: The maximum time that the domain name resolution result is cached.
Region: The geographic region of the IP address.
Line: The carrier line of the destination IP address.
Resolution failed
An error is reported in the corresponding row of the results table.
A specific error message is displayed, such as:
Domain name does not exist
Resolution timed out
Parameter error
No available records
Test DoH resolution online
What is the DoH protocol?
DNS over HTTPS (DoH) is a secure resolution solution based on RFC 8484. It encrypts DNS queries and transmits them over HTTPS. This effectively prevents hijacking and data tampering. For more information, see DoH Integration Guide.
Procedure
Select the DoH protocol. In the parameter settings area, enter a domain name and set the parameters as described below.

Configuration item
Description
Required
Domain name for resolution
The domain name to resolve.
Yes
Parsing type
Select the record type to resolve.
No
Click the Resolve button to send the request. The request URL is generated in real time and can be copied. After the resolution is complete, the response information appears in the Resolution Results area.

Client IP: The public IP address of the device that sends the domain name resolution request.
Region: The geographic region of the client IP address.
Line: The service provider (SP), such as China Telecom, China Unicom, or China Mobile, or the network path type. This parameter distinguishes between the network environments of different carriers.
Number of domain names resolved: The number of domain names included in the resolution request.
Details:
Resolution status
Display format
Result details
Resolution successful
The resolution results for each domain name are displayed in a table.
Includes the following fields:
• Domain name for resolution: The domain name in the original request.
• Resolution classification: A or AAAA.
• Resolution result: The specific result of the resolution.
• TTL: The maximum time that the domain name resolution result is cached.
Resolution failed
An error is reported in the Result Description column of the corresponding row in the results table.
A specific error message is displayed, such as:
• Domain name does not exist
• Resolution timed out
• Parameter error
• No available records