Skip to main content

6. WHOIS

6.1. What is WHOIS​

WHOIS provides directory service to network users. This service is a way of finding e-mail addresses, postal addresses and telephone numbers. It may also deliver information about networks, networking organizations, domains and sites. The main database of networking-related names (organizations, sites, networks, people, etc.) is maintained by the Internet Registration Service (InterNIC). Actually, the names of the administrative and technical contacts for registered domains are automatically entered into the database when domain or IP number applications are processed by the Internet coordination authority. Each entry of the database has a handle (a unique identifier), a name, a record type, and various other fields depending on the type of record. This database will be used as an example in the descriptions below. Before April 1, 1993, the Network Information Center (NIC) of the Defense Data Network (DDN) was the Internet coordination authority and, therefore, maintained the database (known as the NIC database). The NIC database is now restricted to information about the .mil domain. Many documents still refer to these names. Many academic sites maintain their own database to offer information about their staff members and students. In its current implementation, WHOIS has some limitations which prevent it from becoming an efficient directory service for a large volume of information and numerous requests: the various WHOIS servers have no knowledge of each other, a database is maintained at each server site, and, finally, new functionalities have been implemented locally at various sites and not propagated. A new extended protocol, WHOIS++, is being specified to improve the current service. WHOIS++ will include local enhancements to the WHOIS service, an improved query syntax and its architecture will allow a real distributed directory service for the entire Internet. This new protocol for directory services will be made available shortly.

6.2. Who can use WHOIS​

WHOIS is available to users on the international TCP/IP network (the Internet). A WHOIS server is accessible across the network from a user program running on local machines or via an interactive Telnet session to the site which hosts the server. In addition, the InterNIC offers an electronic mail interface to the database it maintains, allowing users not on the Internet or users with electronic mail only to access this information. This type of access is described below in the Using WHOIS section. In general, WHOIS servers should only be used for isolated queries about specific information. Typically, it is not acceptable to make an extended series of queries to obtain large sections of the directory. Such a strategy is unfair both because of excessive consumption of server resources, and because the directory information belongs to individuals. In particular, extracting lists of people for commercial purposes is strictly prohibited.

6.3. How to get to WHOIS​

There are many WHOIS servers throughout the network and a comprehensive list would be too long to be included here. A WHOIS server offers information about the organization to which it belongs: it doesn't share a common directory with other WHOIS servers and doesn't know either where to find information about other institutions.

6.4. Using WHOIS​

WHOIS has become the familiar name of the user program for accessing a WHOIS database, although NICNAME is the original name. In the following, angle brackets (<>) indicate an optional parameter.

6.4.1. Using a local client:​

Unix computers have a native whois command. On non-Unix machines, ask your system administrator whether your computer has it or not. This command searches the database on the specified site for entry which contains identifier. The format is:

+---------------------------------------------------------------+
| |
| whois <-h site-name> identifier |
| |
+---------------------------------------------------------------+

where: site-name is the domain address of the site which hosts the database you want to query (e.g., whois.internic.net). On some installations, the default value is still set to the old NIC database site (nic.ddn.mil). identifier is a name (person, host, domain or network), an IP number or a handle. Special characters may be used in identifier to specify the search: . before identifier will cause a name-only search. ! before identifier will cause a handle-only search. ... or . after identifier will cause a partial search: everything starting with identifier will match. @ in identifier will cause a search on the e-mail addresses. * before identifier will return the entire membership list of the entry that matches identifier (e.g., a site and its registered users). % before identifier will return only the membership list of the entry that matches identifier (e.g., the registered users of a site). The special characters may be used together. The results are displayed in one of 2 ways: * a full detailed display for a single match, * a list of summary lines for multiple matches. In both cases, the handle is shown in parentheses after the name.

6.4.2. Using Telnet:​

To access the InterNIC database interactively, telnet to the InterNIC site (whois.internic.net). No login is required. Other WHOIS databases may have a Telnet access and offer most of the functions below (e.g., whois.ripe.net which hosts the WHOIS database of the European IP Networks). In the following, CAPITAL letters indicate acceptable abbreviation; angle brackets (<>) indicate an optional parameter. WHOIS invokes the information retrieval program. ? displays a short on-line help. HElp accesses the full on-line help. Q, QUIT, RETURN key exits WHOIS identifier searches the database for an entry which contains identifier. The default action is to do a broad search, looking for matches in many fields: handle, name, nicknames, hostname, IP number, etc, and finding all record types. keyword may be used to narrow the search to a specific record type. keyword may be one of: PErson limits the search to persons. DOmain limits the search to domains (e.g., DO EARN.NET). HOst limits the search to hosts (e.g., HO PRINCETON). NEtwork limits the search to networks (e.g., NE EBONE). Organization limits the search to organizations (e.g., O CREN). NAme same as leading '.' in identifier. HAndle same as '!' in identifier. PArtial same as trailing '.' in identifier. Mailbox same as '@' in identifier. EXPand same as '*' in identifier. SUBdisplay same as '%' in identifier. Full or '=' shows detailed display for each match. SUMmary or '$' shows summary always, even if just one match. Special characters may be used in identifier to specify the search: . before identifier will cause a name-only search. ! before identifier will cause a handle-only search. ... or . after identifier will cause a partial search: everything starting with identifier will match. @ in identifier will cause a search on the e-mail addresses. * before identifier will return the entire membership list of the entry that match identifier (e.g., a site and its registered users). % before identifier will return only the membership list of the entry that matches identifier (e.g., the registered users of a site). ~ before identifier will return the entry that matches identifier only, no membership list. The special characters may be used together.

Except if  Full or SUMmary are  specified, the results are
displayed in one of 2 ways:
  • a full detailed display for a single match, * a list of summary lines for multiple matches. In all cases, the handle is shown in parenthesis after the name.

6.4.3. Using electronic mail:​

Users limited to electronic mail connectivity can send requests to the database maintained at the InterNIC by sending mail to [email protected]. The commands are sent in the Subject: field. The body part of the mail is ignored except if the Subject: line is empty. In that case, only the first line is interpreted. This electronic mail interface recognizes all commands described in Using Telnet. Requests should be prefixed with the word WHOIS. Requests are processed automatically once a day.

6.5. Examples​

If you are using a local client, and enter the command: whois !EARN... (remark: "" is an escape character) or if you send by e-mail the command: whois !EARN... then you will get the following results:

EARN (EARN-HST)   SEINE.EARN.NET                193.52.216.1
European Academic Research Network (EARN-DOM) EARN.NET

To obtain detailed information on the second item, enter or send the command: whois EARN-DOM then you will get the following result: European Academic Research Network (EARN-DOM) EARN Office PSI - Batiment 211 91405 Orsay CEDEX FRANCE Domain Name: EARN.NET

Administrative Contact:
Bovio, Daniele (DB355) [email protected]
+33 1 6941 2426 (FAX) +33 1 6941 6683
Technical Contact, Zone Contact:
Grange, Nadine (NG4) [email protected]
+33 1 6941 2426 (FAX) +33 1 6941 6683

Record last updated on 15-Dec-93. Domain servers in listed order: SEINE.EARN.NET 193.52.216.1 DNS.NIS.GARR.IT 192.12.192.5,131.114.2.5 LUMIERE.CIRCE.FR 130.84.8.14 For a partial search, enter: whois hi@ear... then you will get the following result: Bovio, Daniele (DB355) [email protected] EARN EARN Office PSI - BP Batiment 211 91405 ORSAY CEDEX, France FR +33 1 6941 2426 (FAX) +33 1 6941 6683

6.6. Learning more about WHOIS​

The WHOIS service is documented in an Internet Request For Comments (RFC 1400). If you have any questions about WHOIS write to [email protected]. Bug reports, comments, suggestions, etc. should be mailed to [email protected].