What is WHOIS?
WHOIS is a long-standing protocol and database for looking up who registered a domain, which registrar holds it, and when the registration expires.
A WHOIS query to a registry or registrar returns a domain’s registration record: the registrar, the creation, update and expiry dates, the name servers and, where it is not hidden, contact details. Since privacy rules took effect, most registrars redact personal data from public answers, so the contacts are often replaced by a proxy.
The protocol is plain text on port 43 with no standard format, which makes the output hard to parse across registries. For that reason registries are moving to RDAP, which returns structured JSON. The date that matters most to operators is the expiry date: a domain that lapses stops resolving, and a lapsed name can be registered by someone else.
Example
$ whois example.com
Domain Name: EXAMPLE.COM
Registrar: Example Registrar, Inc.
Creation Date: 2012-03-14T09:21:07Z
Registry Expiry Date: 2027-03-14T09:21:07Z
Name Server: NS1.EXAMPLE.NETHow WatchTower15 checks it
WatchTower15's domain expiry check reads the registration expiry, registrar and name servers through WHOIS or RDAP, once a day.