Skip to Main Content

Java SE (Java Platform, Standard Edition)

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!

How to disable DNS cache

843798Apr 30 2002 — edited Jul 5 2004
Hi,

I am trying to mesaure DNS roundtrim time and would like to disable the DNS cache in such a way that I submit a DNS query to my DNS server each time I perform a getByName.

Does anybody know how to disable the cache or set the cache's ttl ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 2 2004
Added on Apr 30 2002
4 comments
246 views