Sometimes you need your tests to resolve hostnames. While you could change for example the /etc/hosts file for your test resolving this is not what you actually want to do. Joala DNS offers a custom Domain Name Server which you can feed with hosts to resolve from within your tests.
Homepage POM file JAR file Javadoc'net.joala:joala-dns:1.0.1'