1.\" Copyright (c) 1985, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. All advertising materials mentioning features or use of this software 13.\" must display the following acknowledgement: 14.\" This product includes software developed by the University of 15.\" California, Berkeley and its contributors. 16.\" 4. Neither the name of the University nor the names of its contributors 17.\" may be used to endorse or promote products derived from this software 18.\" without specific prior written permission. 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" From: @(#)whois.1 8.1 (Berkeley) 6/6/93 33.\" $FreeBSD$ 34.\" 35.Dd November 17, 1999 36.Dt WHOIS 1 37.Os 38.Sh NAME 39.Nm whois 40.Nd "Internet domain name and network number directory service" 41.Sh SYNOPSIS 42.Nm 43.Op Fl adgimpQrR6 44.Op Fl h Ar host 45.Ar name ... 46.Sh DESCRIPTION 47.Nm 48looks up records in the databases maintained by several 49Network Information Centers 50.Pq Tn NICs . 51.Pp 52The options are as follows: 53.Bl -tag -width indent 54.It Fl a 55Use the American Registry for Internet Numbers 56.Pq Tn ARIN 57database. 58It contains network numbers used in those parts of the world covered neither by 59.Tn APNIC 60nor by 61.Tn RIPE . 62Contact (handle) information should be looked up by appending 63.Qq Li -ARIN 64to the NIC handle: 65.Pp 66.Dl "$ whois -a foo3-ARIN" 67.Pp 68.It Fl d 69Use the US Department of Defense 70database. 71It contains points of contact for subdomains of 72.Pa .MIL . 73.It Fl g 74Use the US non-military federal government database, which contains points of 75contact for subdomains of 76.Pa .GOV . 77.It Fl h Ar host 78Use the specified host instead of the default variant. 79Either a host name or an IP address may be specified. 80.Pp 81By default 82.Nm 83construct the name of a whois server to use from the top-level domain 84.Pq Tn TLD 85of the supplied (single) argument, and appending 86.Qq Li .whois-servers.net . 87This effectively allows a suitable whois server to be selected 88automatically for a large number of TLDs. 89.Pp 90In the event that an IP 91address is specified, the whois server will default to the American 92Registry for Internet Numbers 93.Pq Tn ARIN . 94.Pp 95If no required 96.Pa whois-servers.net 97subdomain found, fallback to 98.Pa whois.crsnic.net 99provided. 100.It Fl i 101Use the Network Solutions Registry for Internet Numbers 102.Pq Pa whois.networksolutions.com 103database. 104It contains network numbers and domain contact information for most of 105.Pa .COM , .NET , .ORG 106and 107.Pa .EDU 108domains. 109.Pp 110.Sy NOTE ! 111The registration of these domains is now done by a number of 112independent and competing registrars and this database holds no information 113on the domains registered by organizations other than Network Solutions, Inc. 114Also, note that the 115.Tn InterNIC 116database 117.Pq Pa whois.internic.net 118is no longer handled by Network Solutions, Inc. 119For details, see 120.Pa http://www.internic.net/ . 121.Pp 122Contact (handle) information should be looked up by prefixing 123.Qq Li "handle " 124to the NIC handle in the querry: 125.Pp 126.Dl "$ whois -i 'handle foo3'" 127.Pp 128.It Fl m 129Use the Route Arbiter Database 130.Pq Tn RADB 131database. 132It contains route policy specifications for a large 133number of operators' networks. 134.It Fl p 135Use the Asia/Pacific Network Information Center 136.Pq Tn APNIC 137database. 138It contains network numbers used in East Asia, Australia, 139New Zealand, and the Pacific islands. 140.It Fl Q 141Do a quick lookup. 142This means that 143.Nm 144will not attempt to lookup the name in the authoritative whois 145server (if one is listed) nor will it contact InterNic if a lookup 146fails. 147This flag has no effect when combined with any other flag. 148.It Fl r 149Use the R\(aaeseaux IP Europ\(aaeens 150.Pq Tn RIPE 151database. 152It contains network numbers and domain contact information 153for Europe. 154.It Fl R 155Use the Russia Network Information Center 156.Pq Tn RIPN 157database. 158It contains network numbers and domain contact information 159for subdomains of 160.Pa .RU . 161.It Fl 6 162Use the IPv6 Resource Center 163.Pq Tn 6bone 164database. 165It contains network names and addresses for the IPv6 network. 166.El 167.Pp 168The operands specified to 169.Nm 170are concatenated together (separated by white-space) and presented to 171the 172.Nm 173server. 174.Pp 175The default action, unless directed otherwise with a special 176.Ar name , 177is to do a very broad search, looking for matches to 178.Ar name 179in all types of records and most fields (name, nicknames, hostname, net 180address, etc.) in the database. 181For more information as to what 182.Ar name 183operands have special meaning, and how to guide the search, use 184the special name 185.Dq Li help . 186.Sh SEE ALSO 187.Rs 188.%A Ken Harrenstien 189.%A Vic White 190.%T NICNAME/WHOIS 191.%D 1 March 1982 192.%O RFC 812 193.Re 194.Sh HISTORY 195The 196.Nm 197command appeared in 198.Bx 4.3 . 199