Determine IP# of domain from client browser

Posted by Tim W. on Stack Overflow See other posts from Stack Overflow or by Tim W.
Published on 2010-03-26T13:33:00Z Indexed on 2010/03/26 13:43 UTC
Read the original article Hit count: 266

Filed under:
|
|
|
|

Greetings all,

I would very much like to determine the IP# of a domain from client script.

It's for use in a testing application to determine whether or not a certain domain is set to a QA address as opposed to the address live on the . The testing machine will have it's host file set to resolve a domain to the QA address.

Pinging from the server won't help since the server is getting the public DNS address.

Is this possible in JavaScript? Maybe a Flash could do the trick?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about flash