This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM DNS Caching

 
Ganesh Dhakshinamurthy
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my application, I use webservices deployed in another server for which I have a direct access i.e. a specific firewall rule has been implemented to allow direct connections.
I look up the webservices using the domain name of the server i.e. not using specific IP address of the hosted server.
IP address of the server got changed some 15 days ago, but my application was working fine till I did a restart last weekend. After the restart, my application is unable to access the webservices which is understandable.

My question is even after the IP change, my application was able to connect to the webservices server till I restarted my application. Can anyone please explain me how is this possible?
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I look up the webservices using the domain name of the server i.e. not using specific IP address of the hosted server.
IP address of the server got changed some 15 days ago, but my application was working fine till I did a restart last weekend. After the restart, my application is unable to access the webservices which is understandable.


If you look up the web services using the domain name, why do you think a change to the IP address of the server will have any effect on your look up?

If the domain name did not change, a change to the IP address will not effect looking up the web service by domain name.
 
Ganesh Dhakshinamurthy
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I access the webservices not through internet, its a firewall rule within the intranet which allows the connection between these two servers.
Now for my application to work, a new firewall rule has to be implemented allowing access between these two servers.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I look up the webservices using the domain name of the server


Your statement above states "domain name." Whether this is to the Internet or an Intranet, this does not make a difference.

If you have a DNS server implemented in your Intranet, then changing the IP address should not effect anything, if you indeed look up the services with the domain name.

If you do not have a DNS server implemented in your Intranet, then your statement above does not make any sense.
[ November 12, 2008: Message edited by: James Clark ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic