CC: | Andre Correa <andre.correa [...] pobox.com> |
Subject: | Net::Whois::Raw recursive queries issue |
Date: | Thu, 20 Jan 2011 12:16:16 -0200 |
To: | bug-Net-Whois-Raw [...] rt.cpan.org |
From: | Andre Correa <andre.correa [...] pobox.com> |
Hello,
I'm using NET::Whois::Raw to make queries and need the recursion
functionality. Looks like it is not working correctly, even when running
the pwhois example utility.
For example:
%> perl pwhois -L 75.125.230.128
returns:
[whois.arin.net]
#
# Query terms are ambiguous. The query is assumed to be:
# "n 75.125.230.128"
#
# Use "?" to get help.
#
#
# The following results may also be obtained via:
#
http://whois.arin.net/rest/nets;q=75.125.230.128?showDetails=true&showARIN=false
#
NetRange: 75.125.0.0 - 75.125.255.255
CIDR: 75.125.0.0/16
OriginAS: AS36420, AS30315, AS13749, AS21844, AS13884
NetName: NETBLK-THEPLANET-BLK-EV1-17
NetHandle: NET-75-125-0-0-1
Parent: NET-75-0-0-0-0
NetType: Direct Allocation
NameServer: NS1.EV1SERVERS.NET
NameServer: NS2.EV1SERVERS.NET
RegDate: 2007-06-11
Updated: 2008-02-28
Ref: http://whois.arin.net/rest/net/NET-75-125-0-0-1
OrgName: ThePlanet.com Internet Services, Inc.
OrgId: TPCM
Address: 315 Capitol
Address: Suite 205
City: Houston
StateProv: TX
PostalCode: 77002
Country: US
RegDate: 1999-08-31
Updated: 2010-10-13
Ref: http://whois.arin.net/rest/org/TPCM
ReferralServer: rwhois://rwhois.theplanet.com:4321
OrgTechHandle: TECHN33-ARIN
OrgTechName: Technical Support
OrgTechPhone: +1-214-782-7800
OrgTechEmail: admins@theplanet.com
OrgTechRef: http://whois.arin.net/rest/poc/TECHN33-ARIN
OrgNOCHandle: THEPL-ARIN
OrgNOCName: The Planet NOC
OrgNOCPhone: +1-281-822-4204
OrgNOCEmail: noc@theplanet.com
OrgNOCRef: http://whois.arin.net/rest/poc/THEPL-ARIN
OrgAbuseHandle: ABUSE271-ARIN
OrgAbuseName: The Planet Abuse
OrgAbusePhone: +1-281-714-3560
OrgAbuseEmail: abuse@theplanet.com
OrgAbuseRef: http://whois.arin.net/rest/poc/ABUSE271-ARIN
#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/whois_tou.html
#
when it should return:
$> whois 75.125.230.128
[Querying whois.arin.net]
[Redirected to rwhois.theplanet.com:4321]
[Querying rwhois.theplanet.com]
[rwhois.theplanet.com]
%rwhois V-1.5:003eff:00 whois.theplanet.com (by Network Solutions, Inc.
V-1.5.9.5)
network:Class-Name:network
network:ID:NETBLK-THEPLANET-BLK-EV1-17
network:Auth-Area:75.125.0.0/16
network:Network-Name:TPIS-BLK-75-125-230-0
network:IP-Network:75.125.230.128/29
network:IP-Network-Block:75.125.230.128 - 75.125.230.135
network:Organization-Name:ComponentOne
network:Organization-City:Pittsburg
network:Organization-State:PA
network:Organization-Zip:15206
network:Organization-Country:USA
network:Description-Usage:customer
network:Server-Pri:ns1.ev1servers.net
network:Server-Sec:ns2.ev1servers.net
network:Tech-Contact;I:abuse@ev1servers.net
network:Admin-Contact;I:abuse@ev1servers.net
network:Created:20080922
network:Updated:20080922
%referral rwhois://root.rwhois.net:4321/auth-area=.
%ok
I've tried to use get_whois($ip, undef, 'QRY_ALL') or get_whois($ip,
undef, 'QRY_LAST') but it always returns the FIRST result.
Please let me know if you need additional information to reproduce this
issue.
Thank you for your attention and for the great work done in this module.
Andre