Welcome to WebmasterWorld Guest from 54.161.217.24

Forum Moderators: phranque

Message Too Old, No Replies

Browser Based WHOIS Lookup

WHOIS webservice available?

     
5:57 pm on May 10, 2008 (gmt 0)

New User

10+ Year Member

joined:Mar 14, 2003
posts: 15
votes: 0


What I'd REALLY love is a browser based IP WHOIS lookup function that could be accessed perhaps via a Web Service... inputting an IP and receiving as output the related WHOIS information.

Although this would seem to be a very reasonable requirement, large amounts of time spent looking have so far yielded nothing appropriate.

Does anyone out there know of such a solution? I'd be more than happy to pay for the service.

Thanks!

12:55 am on May 11, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 11, 2003
posts:5072
votes: 12


Google 'reverse IP lookup'. There's about a bajillion services doing this for free :).
9:28 pm on May 11, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


As wheel suggested, whois webservices abound so I'm guessing you must mean your OWN whois, is this correct?

If you're on Linux this is very nearly a one-liner in perl or PHP:

$ip = $qs{'ip'}; ## Where input vars are stored in %qs
$ip =~ s/[^0-9\.]//; ## numbers and dots only
$who = `whois $ip`;
$output = qq<p>Whois for ip address $ip:</p> <pre> $who </pre>;

print "content-type: text/html\n\n";
print $output;

Word of warning, if you make this public it's likely to get hammered by requests, and not all of them will be legitimate, a lot more should be added for security.

12:27 am on May 12, 2008 (gmt 0)

Preferred Member

5+ Year Member

joined:June 15, 2007
posts:433
votes: 15


the search box on firefox needs a whois lookup option (IP and regular whois)
1:39 am on May 12, 2008 (gmt 0)

New User

10+ Year Member

joined:Mar 14, 2003
posts: 15
votes: 0


Thanks everyone.

Yea, I've found lots of places on the Web that will do it via their interface, but I want access to a web service or an API so that we could do it "ourselves"... programmatically providing an IP and getting back the associated WHOIS info (in XML if possible).

I'm perhaps naively a bit surprised not to find such a web service widely available... if it's truly out there I've missed it and would love to be pointed in the right direction.

Thanks in advance.

1:49 am on May 12, 2008 (gmt 0)

New User

10+ Year Member

joined:Mar 14, 2003
posts:15
votes: 0


Like this is an example of something that would seem to work, maybe...

[phpwhois.org...]

Although I'd like to find more of an actual "web service" whose output we could get in XML and play with a bit as desired.

Thanks.

9:41 am on May 12, 2008 (gmt 0)

Full Member

10+ Year Member

joined:Feb 27, 2007
posts:255
votes: 0


the search box on firefox needs a whois lookup option (IP and regular whois)

There is a plugin that will do that, kinda. It will give you the WhoIs information of the page you're currently on.

I think it is the Project WhoIs plugin or SEO-Quake?

5:15 pm on May 12, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


Although I'd like to find more of an actual "web service" whose output we could get in XML and play with a bit as desired.

I'm going to take a wild guess as to the "why." You can see by my previous post, doing something yourself, on your own website, is really a trivial task. So primarily, anyone can do this.

I hinted that if you make it public, it is likely to get hammered. By this I mean, automated bots or scrapers will use this area of your site, and ONLY this area of your site, not visiting other areas which provide you revenue, and place a load on your bandwidth without return.

So it stands to reason - why would I want to make an XML whois feed that will tax my bandwidth for very little or no return, especially since anyone can do it on their own server?

That would be my guess <shrug>.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members