T
thierrykareen
Hi,
does anyone know what the behavior of the network cache is in java
1.4.2 ?
More specifically, I understand that when you do a dns request , the
succesful result is cached forever by default. If I then make a tcp/ip
request to that host , it will use the cached ip adress to establish
the connection. Suppose the server at this ip adress has been shut
down for maintenance and another server with another ip has been set
in the dns. My tcp/ip connection request will fail. What will happen
in the cache ? Will the dns cached result be invalidated and another
request to the dns will go and find the new ip adress for the host or
am I going to have a problem until I restart the jvm ?
Thanks
does anyone know what the behavior of the network cache is in java
1.4.2 ?
More specifically, I understand that when you do a dns request , the
succesful result is cached forever by default. If I then make a tcp/ip
request to that host , it will use the cached ip adress to establish
the connection. Suppose the server at this ip adress has been shut
down for maintenance and another server with another ip has been set
in the dns. My tcp/ip connection request will fail. What will happen
in the cache ? Will the dns cached result be invalidated and another
request to the dns will go and find the new ip adress for the host or
am I going to have a problem until I restart the jvm ?
Thanks