All Products
Search
Document Center

HTTPDNS:Android SDK release notes

Last Updated:Sep 25, 2025

This topic describes the updates for each version of the Android SDK.

SDK privacy policy and compliant use

To meet your privacy compliance obligations, reduce the risk of privacy violations, and ensure compliant product operations when you integrate third-party SDKs, you must use the latest product version from the official Alibaba Cloud Documentation Center website. Before you use HTTPDNS, carefully read the EMAS Privacy Policy and the HTTPDNS SDK Compliance Guide for Android. Then, integrate the SDK as described in Android SDK.

SDK information

SDK name

HTTPDNS

Developer

Hangzhou Alibaba Cloud Intelligence Technology Co., Ltd.

SDK package name

com.alibaba.sdk.android.httpdns

SDK version

2.6.7

SDK update time

2025-09-25

SDK size

180 KB

SDK MD5 hash

a9398fac69436b733636a05d453c75d3

Privacy Policy

EMAS Privacy Policy

Update history

SDK version number

Update time

Update description

2.6.7

2025-09-25

  • Optimized code for improved stability.

2.6.6

2025-09-22

  • Optimized the cache management policy for network transitions to improve stability.

2.6.5

2025-07-28

  • Optimized the cache policy.

2.6.4

2025-05-26

  • Optimized code for improved stability.

  • Added support for the 16 KB page size attribute of Android 15.

2.6.3

2025-04-21

  • Increased the minimum supported Android version from Android 2.3 (API Level 9) to Android 4.4 (API Level 19).

  • Optimized the parsing interface to support encryption and signing for improved security.

  • Optimized the getService method definition to reduce call overhead.

  • Added the setContext method during initialization to set the Context used for parsing.

  • Added the setSecretKey method during initialization to set the signing key for the parsing interface.

  • Added the setAesSecretKey method during initialization to set the encryption key for the parsing interface.

2.5.0

2024-09-23

  • Optimized code.

2.4.3

2024-09-10

  • When you configure cache persistence, you can now discard records that have expired beyond a specified threshold.

  • Optimized code.

2.4.2

2024-06-26

  • Added support for selecting scheduling entries for multiple regions.

  • Added support for fallback to a local DNS configuration.

  • Optimized code.

2.4.1

2024-06-20

  • Updated the obfuscation rules.

  • Optimized code to reduce the chance of returning empty parsing results.

2.4.0

2024-05-16

  • Optimized interfaces.

  • Adjusted the parsing interfaces. The SDK now provides synchronous, asynchronous, and synchronous non-blocking parsing interfaces.

Important

This version includes interface adjustments. Integrate the SDK as described in Android SDK.

2.3.5

2024-03-14

  • Improved the accuracy of network environment detection.

  • Optimized code.

2.3.4

2024-02-26

  • Optimized data collection for compliance.

2.3.3

2024-01-08

  • Optimized the logic for triggering Cloud DNS. Parsing results from the disk cache now trigger Cloud DNS based on their TTL.

2.3.2

2023-08-25

  • Optimized API names. For example, getIpByHostAsync is replaced by getIPv4ForHostAsync. The old API name is deprecated and may be removed in a future version.

2.3.1

2023-07-04

  • Set the crash protection feature to be disabled by default.

2.3.0

2022-09-22

  • Added APIs for controlling cache duration.

  • Added the ability for the SDK to determine the network request type (IPv4 or IPv6). The setNetworkChecker interface of HttpDnsSettings is no longer used.

  • Optimized code.

2.2.2

2022-04-07

  • Performed compliance optimizations.

2.0.2

2021-05-07

  • The service IP update interface now supports switching between the HTTP and HTTPS protocols.

  • Fixed the service IP update logic for when an application disables HTTP.

  • Optimized concurrent calls to the synchronous interface for the same domain name. The interface now waits for the parsing result before it returns.

  • Improved the parsing timeout logic for more efficient service IP switching.

2.0.0

2021-02-04

  • Used the batch parsing interface for pre-parsing.

  • Separated the IPv4 and IPv6 parsing interfaces.

  • Optimized code.

1.3.3

2020-10-21

  • Added support for multiple instances.

  • Performed performance optimizations.

1.3.2

2020-04-27

  • Added support for setting the Region parameter for nodes outside China.

1.3.0

2020-03-02

  • Added support for custom parsing.

  • Optimized code.

1.2.5

2019-03-11

  • Optimized code.

  • Optimized logs.

  • Exception handling