homepage Welcome to WebmasterWorld Guest from 54.197.215.146
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Browser Based WHOIS Lookup
WHOIS webservice available?
redherring917




msg:3646823
 5:57 pm on May 10, 2008 (gmt 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!

 

wheel




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

Google 'reverse IP lookup'. There's about a bajillion services doing this for free :).

rocknbil




msg:3647518
 9:28 pm on May 11, 2008 (gmt 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.

creeking




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

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

redherring917




msg:3647587
 1:39 am on May 12, 2008 (gmt 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.

redherring917




msg:3647589
 1:49 am on May 12, 2008 (gmt 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.

draggar




msg:3647747
 9:41 am on May 12, 2008 (gmt 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?

rocknbil




msg:3648026
 5:15 pm on May 12, 2008 (gmt 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>.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved