merlimat commented on issue #1762: Don't cache Bookie hostname DNS resolution forever URL: https://github.com/apache/bookkeeper/pull/1762#issuecomment-433555589 @dlg99 `-Dnetworkaddress.cache.ttl` cannot be passed as system property from CLI but rather included in `java.security` property file. In any case, the current behavior is caching the DNS resolution forever in the BK client process. That comes before reaching the JVM DNS cache or the OS DNS cache. By creating new instances of `InetSocketAddress` we will rely on the JVM cache, that depends on the `networkaddress.cache.ttl` setting. (BTW: I think the JVM cache is a *bad* thing on its own, but that's a different story... :) )
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services