A script that inspects the DNS TTL for a JVM in a supplied Docker image. The image must also contain a JDK.
It does this by generating a Docker image containing a Java program that outputs the JVM's DNS TTL and executing this, then cleaning up the container, image and temporary files.
$ ./jvm-dns-ttl-policy.sh openjdk:8