private static String randomIpAddress() {
        // Generate a random IP in 127/8 (loopback block)
        ThreadLocalRandom random = ThreadLocalRandom.current();
        return String.format("127.%d.%d.%d",
                random.nextInt(1, 255 + 1),
                random.nextInt(1, 255 + 1),
                random.nextInt(1, 255 + 1));
    }
When true, only records added with {@link MockNameResolver#addReverseRecord(String, String)} are considered by
{@link MockNameResolver#resolveHostname(String)}. Otherwise the latter returns the IP address by reversing the lookup
implicitly.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/testutils/MockNameResolver.java