Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Clientside hostname to IP conversion


Message #1 by "Asfandyar Qureshi" <asfandyar_q@h...> on Thu, 14 Mar 2002 02:08:36
Hi,

I'm hoping somebody can help me out with this.

I have a constant hostname (say random.xyz.com). Whenver a dns lookup is
made, the hostname resolves to a somewhat random IP address. This IP
address has to be passed on to a CGI script by the client as a parameter.
The hostname lookup has to be made at the client side. The application is
trying to analyze client side caching.

Any way to convert a hostname to an IP address from Javascript?

Asfandyar.

  Return to Index