chazubell has asked for the wisdom of the Perl Monks concerning the following question:
This morning tried it again, and no go. This error was returned:
can't connect to whois.arin.net[43]: IO::Socket::INET: connect: timeout at simparin.pl line 14.
Here is the code:
#!/usr/bin/perl -w use strict; use Net::Whois::ARIN; use Data::Dumper; my $who = Net::Whois::ARIN->new( host => 'whois.arin.net', port => 43, timeout => 30, ); if (!defined($ARGV[0])){ print "Usage: $0 [arin query]\n"; exit; } my @out = $who->query($ARGV[0]); foreach(@out){ print "$_\n"; }
What's up? Has support for this been disabled?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::Whois::ARIN not responding
by Loops (Curate) on Jul 17, 2013 at 23:06 UTC | |
by chazubell (Beadle) on Jul 18, 2013 at 15:17 UTC | |
by chazubell (Beadle) on Jul 26, 2013 at 04:58 UTC |