In JmDNSImpl.java, the wrong method is being used to remove entries from the DNS Cache. On line 1028 of JmDNSImpl.java, removeDNSEntry() should be used rather than remove(). See the attached .patch file for a quick fix.
Committed to trunk
Fixed in 3.1.6