Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

networkaddress.cache.ttl

843790Jul 19 2007 — edited Jul 30 2007
For better or worse, our organization relies on dynamic dns addresses to connect to our branches (static IP addresses are VERY expensive here).

Because of this I have set networkaddress.cache.ttl to sixty seconds. Which will work. But, it seems silly to have to change this setting for entire server when I only need to change it for one socket connection.

Short of doing an operating system call to nslookup, is their a more intelligent way to do this? Ideally I would like to control the DNS caching per connection.

Ideas would be appreciated.

Renen.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2007
Added on Jul 19 2007
2 comments
470 views