🌏 A tiny 0-dependency thread-safe Java™ lib for setting/viewing dns programmatically without touching host file, make unit/integration testing portable; and a tiny tool for setting/viewing dns of running JVM process.
add below java options for JDK 17:
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/sun.net=ALL-UNNAMED
sun.net.util.IPAddressUtil
dependency, simplify JDK 17
usage
--add-opens java.base/sun.net.util=ALL-UNNAMED
JDK
17 in appveyor ubuntu CI
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.1</version>
</dependency>
Already deploy to maven central repository.
JDK 11
#51
DnsCacheManipulator.listDnsNegativeCache
methodDCM_AGENT_SUPRESS_EXCEPTION_STACK
optionls
subcommand as alias of list
spotbugs-annotations
and spotbugs-maven-plugin
, and fix reported potential problems@Nonnull
annotationsmaven wrapper
.editorconfig
Ubuntu
on appveyor CIcoveralls
on appveyor CImaven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.0</version>
</dependency>
Already deploy to maven central repository.
ls
subcommand as alias of list
.editorconfig
jacoco-maven-plugin
instead of cobertura-maven-plugin
maven wrapper
to 3.8.3maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.0-RC2</version>
</dependency>
Already deploy to maven central repository.
JDK 11
#51
maven wrapper
@Nonnull
annotationsmaven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.6.0-RC1</version>
</dependency>
Already deploy to maven central repository.
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.5.1</version>
</dependency>
Already deploy to maven central repository.
See All Issue List
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.5.0</version>
</dependency>
Already deploy to maven central repository.
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.4.1</version>
</dependency>
Already deploy to maven central repository.
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.4.0</version>
</dependency>
Already deploy to maven central repository.
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.3.0</version>
</dependency>
Already deploy to maven central repository.
maven dependency:
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.2.0</version>
</dependency>
Already deploy to maven central repository.