Google
 

« Fixing Malformed UTF-8 via Regex         Test Post »

Reverse Resolution of IP Addresses with AJAX

Posted June 21, 2006 – 1:40 pm by Yakov Shafranovich in Website

One of the things that came up recently at work is a way to resolve IP addresses to hostnames client-side without any server calls. Here are some of the possibilites that I thought off :

o Using Javascript to call Java’s java.net.InetAddress class to resolve (only works in Mozilla and Opera, needs security permissions)
o Using a Java Applet calling the same class and accessing it via JavaScript / LiveConnect (works in IE also, needs a signed applet)
o Using XUL (Mozilla only, only hostname to IP)
o Trying to call Flash via this bridge (needs a flash movie)

So the bottom line is that it is not possible without a server side process or a signed applet.

Tags: , , , , ,

Permalink | Trackback URL | This post has

Post a Comment