SuperAPI AI Directory

WHOIS

WHOIS is a query and response protocol used to query registration information for Internet resources, and can query the registered users or assigned objects of resources such as domain names, IP address blocks, and autonomous systems. The protocol stores and returns database contents in a human-readable format, and the current version was drafted by the Internet Society and documented in RFC 3912. WHOIS is also the name of a command-line tool on most UNIX systems used to initiate WHOIS protocol queries. There is also a sister protocol, Referral Whois (RWhois). WHOIS originated from the ARPANET resource directory in the early 1970s and was standardized in the early 1980s for querying domain names, people, and other resources related to domain name and number registration. With the commercialization of the Internet, WHOIS evolved from a single centralized server into a complex system maintained by numerous registrars and registries, and querying a domain name requires knowing the correct authoritative WHOIS server. WHOIS data can be stored according to the thick or thin model, and different top-level domains use different models. Queries were traditionally performed via the command line, and there are now also many web-based tools.

Open website

About this tool

WHOIS is a query and response protocol used to query a database that stores the registered users or assigned objects of Internet resources. These resources include domain names, IP address blocks, and autonomous systems, and it is also used for a broader range of other information. The protocol stores and delivers database contents in a human-readable format. The current version of the WHOIS protocol was drafted by the Internet Society and is documented in RFC 3912. WHOIS is also the name of a command-line tool on most UNIX systems used to initiate WHOIS protocol queries. In addition, WHOIS has a sister protocol, Referral Whois (RWhois).

History and standardization: Elizabeth Feinler and her team (who had created the ARPANET resource directory) created the first WHOIS directory in the early 1970s. Feinler set up a server at the Stanford Network Information Center (NIC) as a directory for retrieving information about people or entities. The registration process was established in RFC 920. WHOIS was standardized in the early 1980s for querying domain names, people, and other resources related to domain name and number registration. At the time, all registrations were handled by one organization, so a single centralized server was used for WHOIS queries. As ARPANET developed into the Internet, the U.S. Defense Advanced Research Projects Agency (DARPA) was responsible for domain name registration; UUNET began offering domain name registration services but only handled paperwork and forwarded it to the DARPA NIC. Subsequently, the U.S. National Science Foundation directed that Internet domain name registration be managed by a commercial third-party entity. In 1993, InterNIC was established under an NSF contract, composed of Network Solutions, General Atomics, and AT&T; the General Atomics contract was canceled several years later due to performance issues. In the 20th century, WHOIS servers were highly permissive and allowed wildcard searches, for example, querying a surname would return all individuals with that surname, querying a keyword would return all registered domain names containing that keyword, and querying an administrative contact would return all domain names associated with that administrator. With the commercialization of the Internet, multiple registrars, and the emergence of unethical spammers, such permissive searches were no longer available. On December 1, 1999, management of the com, net, and org top-level domains was assigned to ICANN, these TLDs switched to the thin WHOIS model, and existing WHOIS clients stopped working at that time. A month later, self-detection CGI support was added, enabling the same program to run web-based WHOIS queries, and added an external TLD table to support multiple WHOIS servers based on the requested TLD, which ultimately became the model for modern WHOIS clients. By 2005, the number of generic top-level domains and country-code top-level domains had greatly increased, forming a complex network of domain name registrars and registrar associations, and performing WHOIS queries on domain names required knowing the correct authoritative WHOIS server. Providers such as IONOS and Namecheap offer WHOIS domain search tools. In 2003, the IETF established a committee to develop a new standard, CRISP, for querying domain name and network number information; from January 2005 to July 2006 the working name was IRIS; in March 2009 the CRISP working group concluded after publishing the final RFC 5144. In 2013 the IETF acknowledged that IRIS had not succeeded in replacing WHOIS, the main technical reason being IRIS's complexity; ARIN and RIPE NCC provide WHOIS data through RESTful web services. The WEIRDS working group produced five proposed standards documents and one informational document.

Protocol details: The WHOIS protocol originated from the ARPANET NICNAME protocol, based on the NAME/FINGER protocol described in RFC 742 (1977). The NICNAME/WHOIS protocol was first described by Ken Harrenstien and Vic White of the SRI International Network Information Center in 1982 in RFC 812. WHOIS was initially implemented on NCP, but gained major use after the TCP/IP suite was standardized on ARPANET and later the Internet. Command-line server queries are usually a single name specification, i.e., the resource name; the server accepts a query containing only a question mark (?) to return a description of the acceptable command-line format; replacement or wildcard formats also exist, for example appending a period after the query name to return all entries beginning with that query name. On the modern Internet, WHOIS services usually use TCP, with the server listening for requests on the well-known port 43; the client is a simple application that establishes a communication channel to the server, sends a text record containing the resource name to be queried, and waits for a response in the form of a series of text records found in the database. This simplicity also allows applications and command-line users to query WHOIS servers using the Telnet protocol. In June 2014, ICANN published the status generationThe code suggests "Extensible Provisioning Protocol (EPP) domain status codes". After deletion occurs, the domain name may be re-registered according to registry policy. WHOIS queries have traditionally been performed through command-line interface applications, but there are now many web-based alternative tools.

Data model: The WHOIS database consists of a set of text records for each resource, containing various information about the resource itself, as well as associated information such as the assigning entity, registrant, and administrative information (such as creation and expiration dates). There are two data models for storing resource information: thick and thin. The thick model generally ensures data consistency and somewhat faster queries because only one WHOIS server needs to be contacted; if a registrar goes out of business, the thick registry contains all important information (if the registrant entered correct data and did not use privacy features to hide the data), and the registration information can be retained. In a thin registry, contact information may be unavailable, and legitimate registrants may have difficulty retaining control of the domain name. If the WHOIS client does not understand how to handle this situation, it will display the complete information from the registrar. The WHOIS protocol has no standard way to determine how to distinguish between the thin model and the thick model. Exactly which records are stored varies by domain registry. Some top-level domains, including com and net, operate thin WHOIS and require domain registrars to maintain their own customer data; other global top-level registries, including org, operate the thick model. Each country-code top-level registry has its own national rules.

Client and usage: The earliest WHOIS information system applications were command-line interface tools for Unix and Unix-like operating systems (such as Solaris, Linux, etc.). WHOIS client and server software is distributed as free and open-source software, and binary distributions are included in all Unix-like systems. Various commercial Unix implementations may use proprietary implementations (for example, Solaris 7). The WHOIS command-line client passes the phrase given as an argument directly to the WHOIS server. Various free and open-source examples can still be found on sites such as sourceforge.net. Most modern WHOIS tools implement command-line flags or options, such as the -h option to access a specific server host, but the default server is preconfigured; other options can control the connection port number, display additional debugging data, or change recursive/referral behavior. Like most TCP/IP client-server applications, the WHOIS client receives user input and then opens an Internet socket to the target server; the WHOIS protocolManage query transmission and result reception. With the advent of the World Wide Web and especially the loosening of Network Solutions' monopoly, querying WHOIS information via the Web became quite common. Popular web-based WHOIS queries are currently available from ARIN, RIPE, and APNIC. Most early web-based WHOIS clients were merely front ends to command-line clients, with results output simply displayed on a web page with little cleaning or formatting. Current web-based WHOIS clients typically perform the WHOIS query directly and then format the results for display; many such clients are proprietary and written by domain registrars. The demand for web-based clients arose because command-line WHOIS clients existed mainly in the Unix and large-computing world; Microsoft Windows and Macintosh computers did not have WHOIS clients installed by default, so registrars had to find ways to provide potential customers with access to WHOIS data. Many end users still rely on such clients, although command-line and graphical clients now exist for most home PC platforms. Microsoft provides the Sysinternals Suite, which includes a free whois client. CPAN has several Perl modules that work with WHOIS servers, but many are not up to date and do not fully work with the current (2005) WHOIS server infrastructure; nevertheless, many useful features can still be obtained from them, including querying AS numbers and registrant contacts. WHOIS services are mainly run by registrars and registries; for example, the Public Interest Registry (PIR) maintains the .ORG registry and related WHOIS services.

Regional Internet Registries and server discovery: WHOIS servers operated by Regional Internet Registries (RIRs) can be queried directly to determine the Internet service provider responsible for a particular resource. The records of the various registries cross-reference one another, so querying ARIN for a record belonging to RIPE returns a placeholder pointing to the RIPE WHOIS server, letting the querying user know that the detailed information is on the RIPE server. In addition to RIR servers, there are commercial services, such as the Routing Assets Database used by some large networks. There is currently no widely extensible method for determining the responsible WHOIS server for a DNS domain name, although top-level domains (TLDs) commonly use various methods. Some registries use DNS SRV records (defined in RFC 2782) allow clients to discover WHOIS server addresses. Some WHOIS queries require searching the purchasing domain registrar to display domain owner details. Usually the contact information of the resource allocation object is returned; however, some registrars offer private registration, in which case the registrar's contact information is displayed. Some registry operators are wholesalers, typically providing domain services to a large number of retail registrars, who in turn provide them to consumers; for private registrations, only the wholesale registrar's identity may be returned, in which case the individual's identity and possibly the retail registrar may be hidden.

Limitations and current state: The WHOIS protocol has no standard determining how to distinguish between thin and thick models; there is no widely extensible method for determining the responsible WHOIS server for a DNS domain name; modern WHOIS no longer supports the early permissive wildcard searches; privacy registrations and the wholesaler model may hide registrant identity; different top-level domains and country-code top-level domains have their own rules and data models; IRIS failed to successfully replace WHOIS, and subsequent work such as RDAP is being advanced by the IETF.