Closed nbanmp closed 6 months ago
Hello @nbanmp
The whois data
in IANA WHOIS server
is not the domain whois data
, but of tld whois data
.
If you think this repository is helpful, please share it with friends, thanks.
@likexian The Creation Date
response from whois.iana.org
is the creation date for the domain itself. created
is the tld whois data. This parser doesn't correctly differentiate between whether it's supposed to be returning tld whois data or domain whois data, so some of the parsed data is from the tld, and some is for the domain.
More info:
The bug is caused because whois-parser
will map multiple fields to created_date
. For whois.iana.org
, created
is not the domain whois data, but creation date
is. And only the first match for created_date is used.
Please try this whois client: https://github.com/likexian/whois
.
If you think this repository is helpful, please share it with friends, thanks.
@likexian I had been using that client. Is there a reason the whois CLI client would be significantly different?
@likexian I had been using that client. Is there a reason the whois CLI client would be significantly different?
Yes, some whois client mixed all content togther.
If you think this repository is helpful, please share it with friends, thanks.
It looks like the last
created
result is overwriting the actual registration date of the domain, whois-parser is returning1984-01-01
. My hacky suggestion would to be to ignore dates that are exactly1985-01-01
, if you don't have a clearly better solution.This has happened with multiple domains, when the whois server is
whois.iana.org