[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Proxy and slow dns lookup  XML
Forum Index -> Deployment
Author Message
krinninger

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

Hello,

has anybody experienced slow dns lookups with java in a proxy proxy environment?

Our customer is using an environment where proxy does dns-lookup.
The local dns lookup does not work (properly).

So i ensured that the java property trustProxy is set to true (this allows java to use proxy for dns lookups).

Everything works fine, except the fact that client start very slow. (2-3 times slower).
If i add host entries it works quite as fast as normal. (because dns lookup works again)

i tried a few things to alleviate this dns lookupp problems.
So i set dns lookup cache for negative lookups to unlimited caching time (but when client starts this doesn't help a lot).

Another workaround is, not to use dns names, but the explicit ip adress in jnlp file. But this is no solution when using ssl certificates and even not good for some other reasons)

So,
1. getting a correct working dns environment and
2. adding host entries and
3. using ip addresses in jnlp file
is no solution for us.

perhaps someone has faced the same issues with java and has found a workaround or even a solution for this problem?

i'm thankful for any input.


Michael




 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team