A simple 0-dependency thread-safe lib for setting dns programmatically without touching host file, make unit/integration test portable.
'com.alibaba:dns-cache-manipulator:1.2.0'
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dns-cache-manipulator</artifactId>
<version>1.2.0</version>
</dependency>
<dependency org="com.alibaba" name="dns-cache-manipulator" rev="1.2.0"/>
"com.alibaba", "dns-cache-manipulator", "1.2.0"