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.3.jar 下载
dns-cache-manipulator-1.8.3.pom 下载
dns-cache-manipulator-1.8.3-sources.jar 下载
Apache Maven
<dependency>
  <groupId>com.alibaba</groupId>
  <artifactId>dns-cache-manipulator</artifactId>
  <version>1.8.3</version>
</dependency>
Gradle Groovy
implementation 'com.alibaba:dns-cache-manipulator:1.8.3'
Gradle Kotlin
implementation("com.alibaba:dns-cache-manipulator:1.8.3")
Scala SBT
libraryDependencies += "com.alibaba" % "dns-cache-manipulator" % "1.8.3"
Groovy Grape
@Grapes(
  @Grab(group='com.alibaba', module='dns-cache-manipulator', version='1.8.3')
)
Apache Ivy
<dependency org="com.alibaba" name="dns-cache-manipulator" rev="1.8.3" />
Leiningen
[com.alibaba/dns-cache-manipulator "1.8.3"]
Apache Buildr
'com.alibaba:dns-cache-manipulator:jar:1.8.3'