configure java dns to cache /issue #119