dns-cache-manipulator

dns-cache-manipulator

🌏 a tiny 0-dependency thread-safe Java™ lib for setting/viewing dns programmatically without touching host file, make unit/integration test portable. support Java 8~21, support IPv6.
https://github.com/alibaba/java-dns-cache-manipulator
Apache 2
Alibaba
Jerry Lee
文件下载
文件名 操作
dns-cache-manipulator-1.8.2.jar 下载
dns-cache-manipulator-1.8.2.pom 下载
dns-cache-manipulator-1.8.2-sources.jar 下载
Apache Maven
<dependency>
  <groupId>com.alibaba</groupId>
  <artifactId>dns-cache-manipulator</artifactId>
  <version>1.8.2</version>
</dependency>
Gradle Groovy
implementation 'com.alibaba:dns-cache-manipulator:1.8.2'
Gradle Kotlin
implementation("com.alibaba:dns-cache-manipulator:1.8.2")
Scala SBT
libraryDependencies += "com.alibaba" % "dns-cache-manipulator" % "1.8.2"
Groovy Grape
@Grapes(
  @Grab(group='com.alibaba', module='dns-cache-manipulator', version='1.8.2')
)
Apache Ivy
<dependency org="com.alibaba" name="dns-cache-manipulator" rev="1.8.2" />
Leiningen
[com.alibaba/dns-cache-manipulator "1.8.2"]
Apache Buildr
'com.alibaba:dns-cache-manipulator:jar:1.8.2'