happy-dns-java

Dns Client for Java

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.qiniu
ArtifactId

ArtifactId

happy-dns-java
Last Version

Last Version

0.1.6
Release Date

Release Date

Type

Type

jar
Description

Description

happy-dns-java
Dns Client for Java
Project URL

Project URL

https://github.com/qiniu/happy-dns-java
Source Code Management

Source Code Management

https://github.com/qiniu/happy-dns-java

Download happy-dns-java

How to add to project

<!-- https://jarcasting.com/artifacts/com.qiniu/happy-dns-java/ -->
<dependency>
    <groupId>com.qiniu</groupId>
    <artifactId>happy-dns-java</artifactId>
    <version>0.1.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.qiniu/happy-dns-java/
implementation 'com.qiniu:happy-dns-java:0.1.6'
// https://jarcasting.com/artifacts/com.qiniu/happy-dns-java/
implementation ("com.qiniu:happy-dns-java:0.1.6")
'com.qiniu:happy-dns-java:jar:0.1.6'
<dependency org="com.qiniu" name="happy-dns-java" rev="0.1.6">
  <artifact name="happy-dns-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.qiniu', module='happy-dns-java', version='0.1.6')
)
libraryDependencies += "com.qiniu" % "happy-dns-java" % "0.1.6"
[com.qiniu/happy-dns-java "0.1.6"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Qiniu Happy DNS for Java

@qiniu on weibo Software License Build Status Latest Stable Version

安装

直接安装

通过maven

使用方法

DnsClient 可以创建一次,一直使用。

    IResolver[] resolvers = new IResolver[2];
    resolvers[0] = new DnspodFree();
    resolvers[1] = new Resolver(InetAddress.getByName("119.29.29.29"));
    DnsClient dns = new DnsManager(NetworkInfo.normal(), resolvers);

测试

$ ./gradlew test

运行环境

Java 最低要求 1.6

代码贡献

详情参考代码提交指南

贡献记录

联系我们

  • 如果需要帮助,请提交工单(在portal右侧点击咨询和建议提交工单,或者直接向 [email protected] 发送邮件)
  • 如果有什么问题,可以到问答社区提问,问答社区
  • 如果发现了bug, 欢迎提交 issue
  • 如果有功能需求,欢迎提交 issue
  • 如果要提交代码,欢迎提交 pull request
  • 欢迎关注我们的微信 微博,及时获取动态信息。

代码许可

The MIT License (MIT).详情见 License文件.

com.qiniu

Qiniu Cloud

Connect Data, Redefine Value.

Versions

Version
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0