Tim W.
Tim W.

Reputation: 371

Determine IP# of domain from client browser

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?

Upvotes: 3

Views: 1830

Answers (1)

Dead account
Dead account

Reputation: 19960

Have a look at Smart IP Api. Seems to do everything you're looking for and has some simple tutorials.

Upvotes: 1

Related Questions