networkaddress.cache.ttl (default: -1)Oh great, so by default java will forever cache looked up IP addresses.Indicates the caching policy for successful name lookups from the name service. The value is specified as as integer to indicate the number of seconds to cache the successful lookup. A value of -1 indicates "cache forever".
For a client application, "forever" is probably okay. A server app can
configure it, I guess.
Hey, at least it is configurable. :)
(Oh, and thanks for this; I've been wondering how to configure this feature)
JavaBlogs ha(s|d) this problem. I discovered it for a while when my blog
had a proper name, but was on a dynamic ip. I used DynDns, which worked for
everything else, but JavaBlogs would never get the new ip when it changed.
Very annoying.