What is the default exponential backoff configuration?
I have used dig on the DNS record and it is has a 30s expiration, so that does not seem to be the issue.
With regards to the JVM DNS caching, I tried setting a variety of properties and none of them seem to work.
I tried setting the following property right before my main, but it does not work.
object ClientDriver {
java.security.Security.setProperty("networkaddress.cache.ttl", "20")
def main(arg: Array[String]) = {
// Code
....
}
}
I even tried setting the following system property which didn't work either
-Dsun.net.inetaddr.ttl=20