sparc/phpWhois.org

[Bug] ICANN GTLD 'Deep WHOIS' is broken

Closed this issue · 5 comments

Heya,

I noticed 'deep whois' or recursive lookups aren't working out of the box.

Looking at $REG_FIELDS[] in src/whois.gtld.php which looks like it's used to map the raw WHOIS data to some useable data structure internally. From what I can tell the 'Whois Server:' key should probably be updated to 'Registrar WHOIS Server:', unless some method exists for it to match either of the two.

The WHOIS response format changes are mentioned at the following links:
https://www.icann.org/resources/pages/approved-with-specs-2013-09-17-en#whois
https://www.centralnic.com/company/news/2016/changes-to-whois
Or by just querying a bunch of .com/.net domains

kotuk commented

$whois->deep_whois = true;
is not working

@kotuk What TLD is the domain you are querying (ie .com/.xyz/)?

kotuk commented

any, com, tv, net, eu

kotuk commented

bugfix helped, thank you

Not sure it will work for EU, but appears to work for the other 3 :)