Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

whois(3pm) [debian man page]

Whois(3pm)						User Contributed Perl Documentation						Whois(3pm)

NAME
Whois - Perl extension to make queries to the whois servers SYNOPSIS
use Whois; $whois = new Whois('Host' => 'whois.ripe.net'); die("Failed to create object") unless(ref($whois)); die($whois->GetError()) if($whois->GetError()); if($whois->Query("BAT-RIPE")) { printf("Query error: %s ", $whois->GetError()); exit; } my $result = $whois->GetResult(); if($result) { print "$result "; } else { printf("No results: %s ", $whois->GetError()); } $whois->Close(); DESCRIPTION
Stub documentation for Whois was created by h2xs. It looks like the author of the extension was negligent enough to leave the stub unedited. Blah blah blah. AUTHOR
Timur Bakeyev <timur@ripe.net> SEE ALSO
perl(1). perl v5.10.1 2003-08-07 Whois(3pm)

Check Out this Related Man Page

Net::Whois::RIPE::Iterator(3pm) 			User Contributed Perl Documentation			   Net::Whois::RIPE::Iterator(3pm)

NAME
Net::Whois::RIPE::Iterator - iterator for RIPE object's. SYNOPSIS
use Net::Whois::RIPE; use Net::Whois::RIPE::Iterator; $whois = Net::Whois::RIPE->new($host); $iterator = Net::Whois::RIPE::Iterator->new($whois,$query); while ($obj = $iterator->next) { ... } DESCRIPTION
Implements an iterator for Net::Whois::RIPE::Objects. CONSTRUCTOR
new (WHOIS, QUERY) The constructor returns undef on failure. If debug is on then a message is carped about the failure. WHOIS is an object of class Net::Whois::RIPE QUERY is a query string to be sent to the WHOIS object to retrieve the whois objects. METHODS
next() Returns the next Net::Whois::RIPE::Object from the query. Returns undef if no more objects. debug(LEVEL) Sets/gets debugging level on the class or an object. 0 - no debugging 1 - debugging on AUTHOR
Kevin Baker, <shagol@users.sourceforge.net> SEE ALSO
Net::Whois::RIPE Net::Whois::RIPE::Object COPYRIGHT
Copyright (C) 2000 Kevin Baker and APNIC Pty. Ltd. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. POD ERRORS
Hey! The above document had some coding errors, which are explained below: Around line 23: '=item' outside of any '=over' Around line 33: You forgot a '=back' before '=head1' Around line 35: '=item' outside of any '=over' Around line 48: You forgot a '=back' before '=head1' perl v5.10.0 2006-04-17 Net::Whois::RIPE::Iterator(3pm)
Man Page

12 More Discussions You Might Find Interesting

1. IP Networking

Traceroute and Whois mystery

Hey folks, I've been charged with the job of finding out who's been screwing around with the download counts on our site. So now I have this huge list of IP's that I supposed to match to such and such developer. I was told by one guy that I should just do a traceroute and that'd tell me where... (2 Replies)
Discussion started by: DumDum
2 Replies

2. Shell Programming and Scripting

whois lookup from script intermittently not working

Hello, I wrote a basic script to query a whois server using the whois system command to retrieve information about IP's. I have file containing the ip addresses which I feed to the whois command via a while loop. This seems to work sometimes. Most of the time, the whois command seems not to... (0 Replies)
Discussion started by: aliberson
0 Replies

3. Shell Programming and Scripting

whois VS jwhois and timeout

I have a script that does a whois lookup that worked fine on a previous server. It used whois with the t option to timeout in 5 seconds. A while back I upgraded to a new server and the script had problems. I found out the new server didn't even have whois. The whois command was symlinked to jwhois... (4 Replies)
Discussion started by: PWSwebmaster
4 Replies

4. Shell Programming and Scripting

whois scripting

Hi guys, I need a script that given an IP address, say IPA, do the following: - queries "whois IPA" - extracts, from the whois answer, the IP network string indicated after the string "route:", - searches the IP network string in a given text file, say CIDR2ASN.txt, which has several lines,... (1 Reply)
Discussion started by: stesecci
1 Replies

5. Shell Programming and Scripting

whois country help

Hello folks, I have list of ips like 1.1.1.1 2.2.2.2 3.3.3.3 4.4.4.4 whois 1.1.1.1 |grep -E 'country|Country' it show country=US or whatever. so i have number of ips in text file, how i can use above script to automate output like 1.1.1.1 US 2.2.2.2 CA 3.3.3.3 FR (3 Replies)
Discussion started by: learnbash
3 Replies

6. UNIX for Dummies Questions & Answers

How can I do whois -r with a input file?

Hello, I was wondering how I can do a whois from a file with lots of ip's in this format 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 And so on, then print the whois data from all the ip's to one single file sort of like this "whois -r 'ipfile' > 'whoisfile'" Thanks in advance! ... (3 Replies)
Discussion started by: uxfuser
3 Replies

7. Shell Programming and Scripting

uniform and same result whois command line

I am looking for a free whois lookup tool or some "scripting help" that will give uniform result for whois lookup from the linux command line. Currently: whois of a .co.nz domain results nameserver as follows. ns_name_01: ns1.domain.co.nz ns_name_02: ns2.domain.co.nz While that of a .net... (5 Replies)
Discussion started by: anilcliff
5 Replies

8. Shell Programming and Scripting

How to obtain info from whois?

Hello, do you know any clever way to get information whether certain domain name become avaialble for registration from bash script? Would be good to check for the availability like every 100miliseconds, i want to catch domain. (1 Reply)
Discussion started by: postcd
1 Replies

9. IP Networking

Whois or nslookup.. for domain availability?

Hi, i want to make linux bash script which will periodically check for certain domain availability, i mean like every 100miliseconds. I want to ask which command i need to use, so the result is not cached and i dont cause any inappropriate overload? i see: whois domainname.com (when No... (1 Reply)
Discussion started by: postcd
1 Replies

10. UNIX for Advanced & Expert Users

Playing with whois & dig - getting all the a records (globally)

Dear All, I want to get all the IPs of the A RECORDS for mail.google.com. The aim is to deny access to these IPs. I learnt that mail.google.com has several IPs. I did the following steps: 1. whois google.com 2. I got the following as its DOMAIN SERVERS: 3.# dig @ns1.google.com a... (1 Reply)
Discussion started by: coolatt
1 Replies

11. IP Networking

Linux centos, can't connect whois.tucows.com

Hello, when i tried to get whois on an .com domain, it automatically used tucows whois, it appears it cant connect that server, please how can i fix it, so it dont fail or use another server? whois mydomainname.com -f + whoisout=' ' I have: Linux * 2.6.18-348.3.1.el5.028stab106.2 #1... (5 Replies)
Discussion started by: postcd
5 Replies

12. Cybersecurity

Web Hack Attempt from whois 209.126.68.6

Anyone care to take a stab at decoding this hack attempt on a web server. From the error logs: $ cat error.log (36)File name too long: AH00036: access to... (4 Replies)
Discussion started by: Neo
4 Replies