rfc1036 / whois

Intelligent WHOIS client
GNU General Public License v2.0
498 stars 118 forks source link

"Registrar WHOIS Server" not being used #88

Open lbschenkel opened 4 years ago

lbschenkel commented 4 years ago
$ whois --version
Version 5.5.6.

Maybe I'm missing something, but when I do something like this:

$ whois domain.org
Domain Name: DOMAIN.ORG
Registry Domain ID: D1511762-LROR
Registrar WHOIS Server: whois.domain.com
Registrar URL: www.domain.com
Updated Date: 2020-04-02T03:47:21Z
Creation Date: 1995-04-30T04:00:00Z
Registry Expiry Date: 2021-05-01T04:00:00Z
Registrar Registration Expiration Date:
Registrar: Domain.com, LLC
Registrar IANA ID: 886
Registrar Abuse Contact Email: compliance@domain-inc.net
Registrar Abuse Contact Phone: +1.6022262389
Reseller:
Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited
Registrant Organization: Endurance International Group West, Inc
Registrant State/Province: MA
Registrant Country: US
Name Server: DNS1.DOMAINBANK.COM
Name Server: DNS2.DOMAINBANK.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form https://www.icann.org/wicf/)
>>> Last update of WHOIS database: 2020-05-01T08:00:05Z <<<

I was expecting whois to make a second query against Registrar WHOIS Server, which is whois.domain.com in this case. This happens correctly for some domains (example: namesilo.net) but not others, like in the above case.

I can see that the code is supposed to be following those, like in here: https://github.com/rfc1036/whois/blob/b7cfb4ef37c4f53f29e8b52ce78fa11258d0ad97/whois.c#L903 and I don't quite get why that works for some domains and not others.

rfc1036 commented 4 years ago

My understanding is that .org is managed as a thick registry, so recursion should not be needed. I am not sure if something changed recently.

JStyle21 commented 2 years ago

I'm also searching for a solution for this issue as i don't get all the info with the whois client

rfc1036 commented 1 year ago

And now the registrar server returns an http URL as a referral. Are you able to find referrals not to HTTP(S)?