sparc / phpWhois.org

Original phpWhois soruces
http://www.phpwhois.org
GNU General Public License v2.0
95 stars 43 forks source link

Failure on a particular IP address #30

Open sqwarellc opened 1 year ago

sqwarellc commented 1 year ago

(This post is in regard to version 4.2.2)

Doing a query on the following IP address (just using the example.php script) results in an error or a blank/incomplete result.

24.112.158.12

Results in each mode:


"Show me regular output"

Results for 24.112.158.12 :


"Show me HTMLized output"

Results for 24.112.158.12 :

Unexpected error 

"Show me the returned PHP object"

Results for 24.112.158.12 :

regrinfo->Array
regyinfo->Array
 registrar->American Registry for Internet Numbers (ARIN)
 type->ip
 servers->Array
  0->Array
   server->whois.arin.net
   args->n 24.112.158.12
   port->43
rawdata->Array

If you disable deep whois ("fast lookup" in the example script) you get a result but obviously not the end result.

Other IP addresses I have tried so far do work, so it must have something to do with the particular WHOIS info for this one, but other online services do return valid results, so I hope the problem is a simple one within this script.