The code as of today does not well recognize the URl string of the registrar whois server when it is presented with http://:
$ pwhois domains.org -d
recurse to http
Use of uninitialized value $IO::Socket::errstr in concatenation (.) or string at /usr/local/share/perl/5.30.0/Net/Whois/Raw.pm line 310.
recursive query failed
[whois.pir.org]
Domain Name: domains.org
[...]
It fails because it tries to recurse to simply http
If we look at "first" response and value of Registrar WHOIS server: we see the URL has protocol (http://whois.enom.com):
Current addressed issue
The code as of today does not well recognize the URl string of the registrar whois server when it is presented with
http://
:It fails because it tries to recurse to simply
http
If we look at "first" response and value of
Registrar WHOIS server:
we see the URL has protocol (http://whois.enom.com
):With this change
It should not impact the case where the protocol is not given, for instance:
Where the URL is provided without protocol:
Please double check my regex update :smiley: