Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

happy-dns-android

dns library for android

Subscribe to updates I use happy-dns-android


Statistics on happy-dns-android

Number of watchers on Github 153
Number of open issues 5
Average time to close an issue 12 days
Main language Java
Average time to merge a PR about 1 hour
Open pull requests 2+
Closed pull requests 0+
Last commit over 1 year ago
Repo Created over 4 years ago
Repo Last Updated over 1 year ago
Size 240 KB
Organization / Authorqiniu
Latest Releasev0.2.12
Contributors1
Page Updated
Do you use happy-dns-android? Leave a review!
View open issues (5)
View happy-dns-android activity
View on github
Fresh, new opensource launches ๐Ÿš€๐Ÿš€๐Ÿš€
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating happy-dns-android for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Qiniu Happy DNS for Android

@qiniu on weibo Software License Build Status Latest Stable Version

maven

DnsManager

    IResolver[] resolvers = new IResolver[2];
    resolvers[0] = AndroidDnsServer.defaultResolver();
    resolvers[1] = new Resolver(InetAddress.getByName("119.29.29.29"));
    DnsManager dns = new DnsManager(NetworkInfo.normal(), resolvers);
$ ./gradlew connectedAndroidTest

Android 2.3

  • portal support@qiniu.com
  • bug issue
  • issue
  • pull request
DnsManager dns;
if(DnsManager.needHttpDns()){
    IResolver[] resolvers = new IResolver[2];
    resolvers[0] = new DnspodFree();
    resolvers[1] = AndroidDnsServer.defaultResolver();
    dns = new DnsManager(NetworkInfo.normal, resolvers);
}else{
    IResolver[] resolvers = new IResolver[2];
    resolvers[0] = AndroidDnsServer.defaultResolver();
    resolvers[1] = new Resolver(InetAddress.getByName("8.8.8.8"));
    dns = new DnsManager(NetworkInfo.normal, resolvers);
}

The MIT License (MIT). License.

happy-dns-android open issues Ask a question     (View All Issues)
  • about 3 years urlconnectionๅฆ‚ไฝ•ๅค„็†302้‡ๅฎšๅ‘๏ผŸ
happy-dns-android open pull requests (View All Pulls)
  • ///Android 8 , net.dns* was disabled, query dns servers must use netโ€ฆ
  • Modify code due to server response
happy-dns-android list of languages used
happy-dns-android latest release notes
v0.2.12 Release v0.2.12
  • Hosts
v0.2.11 Release 0.2.11
  • httpdnsAPI
v0.2.10 Release v0.2.10
  • catch NPE, SE of system,
Other projects in Java