Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Verisign's whois server returns No match for which can not be handled by whoiser #117

Open
SukkaW opened this issue Nov 5, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@SukkaW
Copy link

SukkaW commented Nov 5, 2024

Version(s) affected: 1.18.0

Description

$ whois not-exist-bust.com
No match for domain "NOT-EXIST-BUST.COM".
>>> Last update of whois database: 2024-11-05T12:37:37Z <<<

How to reproduce

import * as whoiser from 'whoiser';

console.log(await whoiser.domain(domain));

It should log an empty object, but whoiser is trying to parse the not found message instead.

Possible Solution

Update this line to include No match for:

if (whois.includes('returned 0 objects') || whois.includes('No match found')) {

@SukkaW SukkaW added the bug Something isn't working label Nov 5, 2024
@SukkaW
Copy link
Author

SukkaW commented Nov 5, 2024

I can help submiting a PR to fix this.

@SukkaW
Copy link
Author

SukkaW commented Nov 5, 2024

Another example found:

$ whois bigcloud.cyou
The queried object does not exist: DOMAIN NOT FOUND

>>> Last update of WHOIS database: 2024-11-05T16:53:37.0Z <<<

For more information on Whois status codes, please visit https://icann.org/epp

>>> IMPORTANT INFORMATION ABOUT THE DEPLOYMENT OF RDAP: please visit
https://www.centralnicregistry.com/support/rdap <<<

The Whois and RDAP services are provided by CentralNic, and contain
information pertaining to Internet domain names registered by our
our customers. By using this service you are agreeing (1) not to use any
information presented here for any purpose other than determining
ownership of domain names, (2) not to store or reproduce this data in
any way, (3) not to use any high-volume, automated, electronic processes
to obtain data from this service. Abuse of this service is monitored and
actions in contravention of these terms will result in being permanently
blacklisted. All data is (c) CentralNic Ltd (https://www.centralnicregistry.com)

Access to the Whois and RDAP services is rate limited. For more
information, visit https://registrar-console.centralnicregistry.com/pub/whois_guidance.

The keyword is does not exist

@SukkaW
Copy link
Author

SukkaW commented Jan 5, 2025

And another example:

$ whois llcvideo.ru

% TCI Whois Service. Terms of use:
% https://tcinet.ru/documents/whois_ru_rf.pdf (in Russian)
% https://tcinet.ru/documents/whois_su.pdf (in Russian)

No entries found for the selected source(s).

Last updated on 2025-01-05T09:58:01Z

The keyword is No entries found

@SukkaW
Copy link
Author

SukkaW commented Jan 5, 2025

And another example:

$ whois cryptocrawler.io
Domain not found.
>>> Last update of WHOIS database: 2025-01-05T10:04:18Z <<<

Terms of Use: Access to WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the registry database. The data in this record is provided by Identity Digital or the Registry Operator for informational purposes only, and accuracy is not guaranteed. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, a Registrar, or Identity Digital except as reasonably necessary to register domain names or modify existing registrations. When using the Whois service, please consider the following: The Whois service is not a replacement for standard EPP commands to the SRS service. Whois is not considered authoritative for registered domain objects. The Whois service may be scheduled for downtime during production or OT&E maintenance periods. Queries to the Whois services are throttled. If too many queries are received from a single IP address within a specified time, the service will begin to reject further queries for a period of time to prevent disruption of Whois service access. Abuse of the Whois system through data mining is mitigated by detecting and limiting bulk query access from single sources. Where applicable, the presence of a [Non-Public Data] tag indicates that such data is not made publicly available due to applicable data privacy laws or requirements. Should you wish to contact the registrant, please refer to the Whois records available through the registrar URL listed above. Access to non-public data may be provided, upon request, where it can be re
asonably confirmed that the requester holds a specific legitimate interest and a proper legal basis for accessing the withheld data. Access to this data provided by Identity Digital can be requested by submitting a request via the form found at https://www.identity.digital/about/policies/whois-layered-access/. The Registrar of Record identified in this output may have an RDDS service that can be queried for additional information on how to contact the Registrant, Admin, or Tech contact of the queried domain name. Identity Digital Inc. and Registry Operator reserve the right to modify these terms at any time. By submitting this query, you agree to abide by this policy.

The keyword is Domain not found.

@SukkaW
Copy link
Author

SukkaW commented Jan 5, 2025

Another example:

$ whois installsuperoriginaltheproduct.vip

No Data Found
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
>>> Last update of WHOIS database: 2025-01-05T11:24:51Z <<<

The keyword is no data found.

@SukkaW
Copy link
Author

SukkaW commented Jan 5, 2025

Another example:

$ whois tlsens.pl

No information available about domain name tlsens.pl in the Registry NASK database.




WHOIS database responses: https://dns.pl/en/whois

WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system

The keyword is No information available about domain name

@SukkaW
Copy link
Author

SukkaW commented Jan 5, 2025

And another example:

$ whois hola.hk
The domain has not been registered.

The keyword is has not been registered

@SukkaW
Copy link
Author

SukkaW commented Jan 5, 2025

And another example:

$ whois amzone.co.jp
[ JPRS database provides information on network administration. Its use is    ]
[ restricted to network administration purposes. For further information,     ]
[ use 'whois -h whois.jprs.jp help'. To suppress Japanese output, add'/e'     ]
[ at the end of command, e.g. 'whois -h whois.jprs.jp xxx/e'.                 ]
No match!!

With JPRS WHOIS, you can query the following domain name information
sponsored by JPRS.
    - All of registered JP domain name
    - gTLD domain name of which sponsoring registrar is JPRS
Detail: https://jprs.jp/about/dom-search/jprs-whois/ (only in Japanese)

For IP address information, please refer to the following WHOIS servers:
    - JPNIC WHOIS (whois.nic.ad.jp)
    - APNIC WHOIS (whois.apnic.net)
    - ARIN WHOIS (whois.arin.net)
    - RIPE WHOIS (whois.ripe.net)
    - LACNIC WHOIS (whois.lacnic.net)
    - AfriNIC WHOIS (whois.afrinic.net)

The keyword is No match!!

@SukkaW
Copy link
Author

SukkaW commented Jan 5, 2025

And this:

$ whois hicloud.tw
No Found

The keyword is No Found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants