Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Whois-Raw CPAN distribution.

Report information
The Basics
Id: 73099
Status: resolved
Priority: 0/
Queue: Net-Whois-Raw

People
Owner: Nobody in particular
Requestors: guigozzz [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.37
Fixed in: (no value)



Subject: English whois on whois.jprs.jp
Hello, First, thanks a lot for your work on this library! When I execute a whois request on a .jp domain (ex : google.co.jp), the result contains Japanese characters. This whois server contains an option to retrieve data in English instead of Japanese. In order to obtain English data, we must request the "google.co.jp/e" domain. I don't know if you want to keep the data in the original language, I think English data is more useful for lots of persons. Maybe other whois servers has the same option. I think it can be solved easily by adding a %query_suffix at the end of the Data.pm file and use it like %query_prefix in Common.pm::get_real_whois_query() Thanks for your help, Guillaume.
Hello, Guillaume In v2.60 it is possible to set global query suffix: $Net::Whois::Raw::QUERY_SUFFIX = '/e'; # This will add specified suffix to whois query. # It may be used for english output forcing. like this: perl -MNet::Whois::Raw -E '$Net::Whois::Raw::QUERY_SUFFIX = "/e"; say whois "google.co.jp"' [ JPRS database provides information on network administration. Its use is ] [ restricted to network administration purposes. For further information, ] [ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e' ] [ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'. ] Domain Information: a. [Domain Name] GOOGLE.CO.JP g. [Organization] Google Japan l. [Organization Type] corporation m. [Administrative Contact] DL152JP n. [Technical Contact] TW124137JP p. [Name Server] ns1.google.com p. [Name Server] ns2.google.com p. [Name Server] ns3.google.com p. [Name Server] ns4.google.com s. [Signing Key] [State] Connected (2014/03/31) [Registered Date] 2001/03/22 [Connected Date] 2001/03/22 [Last Update] 2013/04/01 01:19:27 (JST) Чтв Дек 08 03:31:56 2011, Guigoz писал: Show quoted text
> Hello, > > First, thanks a lot for your work on this library! > > When I execute a whois request on a .jp domain (ex : google.co.jp), the > result contains Japanese characters. > > This whois server contains an option to retrieve data in English instead > of Japanese. > > In order to obtain English data, we must request the "google.co.jp/e" > domain. > > I don't know if you want to keep the data in the original language, I > think English data is more useful for lots of persons. > Maybe other whois servers has the same option. > > I think it can be solved easily by adding a %query_suffix at the end of > the Data.pm file and use it like %query_prefix in > Common.pm::get_real_whois_query() > > Thanks for your help, > Guillaume.