]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/whois/whois.1
This commit was generated by cvs2svn to compensate for changes in r77349,
[FreeBSD/FreeBSD.git] / usr.bin / whois / whois.1
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
48 looks up records in the databases maintained by several
49 Network Information Centers
50 .Pq Tn NICs .
51 .Pp
52 The options are as follows:
53 .Bl -tag -width indent
54 .It Fl a
55 Use the American Registry for Internet Numbers
56 .Pq Tn ARIN
57 database.
58 It contains network numbers used in those parts of the world covered neither by
59 .Tn APNIC
60 nor by
61 .Tn RIPE .
62 Contact (handle) information should be looked up by appending
63 .Qq Li -ARIN
64 to the NIC handle:
65 .Pp
66 .Dl "$ whois -a foo3-ARIN"
67 .Pp
68 .It Fl d
69 Use the US Department of Defense
70 database.
71 It contains points of contact for subdomains of
72 .Pa .MIL .
73 .It Fl g
74 Use the US non-military federal government database, which contains points of
75 contact for subdomains of
76 .Pa .GOV .
77 .It Fl h Ar host
78 Use the specified host instead of the default variant.
79 Either a host name or an IP address may be specified.
80 .Pp
81 By default
82 .Nm
83 construct the name of a whois server to use from the top-level domain
84 .Pq Tn TLD
85 of the supplied (single) argument, and appending
86 .Qq Li .whois-servers.net .
87 This effectively allows a suitable whois server to be selected
88 automatically for a large number of TLDs.
89 If no required
90 .Pa whois-servers.net
91 subdomain found, fallback to
92 .Pa whois.crsnic.net
93 provided.
94 .It Fl i
95 Use the Network Solutions Registry for Internet Numbers
96 .Pq Pa whois.networksolutions.com
97 database.
98 It contains network numbers and domain contact information for most of
99 .Pa .COM , .NET , .ORG
100 and
101 .Pa .EDU
102 domains.
103 .Pp
104 .Sy NOTE !
105 The registration of these domains is now done by a number of
106 independent and competing registrars and this database holds no information
107 on the domains registered by organizations other than Network Solutions, Inc.
108 Also, note that the
109 .Tn InterNIC
110 database
111 .Pq Pa whois.internic.net
112 is no longer handled by Network Solutions, Inc.
113 For details, see
114 .Pa http://www.internic.net/ .
115 .Pp
116 Contact (handle) information should be looked up by prefixing
117 .Qq Li "handle "
118 to the NIC handle in the querry:
119 .Pp
120 .Dl "$ whois -i 'handle foo3'"
121 .Pp
122 .It Fl m
123 Use the Route Arbiter Database
124 .Pq Tn RADB
125 database.
126 It contains route policy specifications for a large
127 number of operators' networks.
128 .It Fl p
129 Use the Asia/Pacific Network Information Center
130 .Pq Tn APNIC
131 database.
132 It contains network numbers used in East Asia, Australia,
133 New Zealand, and the Pacific islands.
134 .It Fl Q
135 Do a quick lookup.
136 This means that
137 .Nm
138 will not attempt to lookup the name in the authoritative whois
139 server (if one is listed) nor will it contact InterNic if a lookup
140 fails.
141 This flag has no effect when combined with any other flag.
142 .It Fl r
143 Use the R\(aaeseaux IP Europ\(aaeens
144 .Pq Tn RIPE
145 database.
146 It contains network numbers and domain contact information
147 for Europe.
148 .It Fl R
149 Use the Russia Network Information Center
150 .Pq Tn RIPN
151 database.
152 It contains network numbers and domain contact information
153 for subdomains of
154 .Pa .RU .
155 .It Fl 6
156 Use the IPv6 Resource Center
157 .Pq Tn 6bone
158 database.
159 It contains network names and addresses for the IPv6 network.
160 .El
161 .Pp
162 The operands specified to
163 .Nm
164 are concatenated together (separated by white-space) and presented to
165 the
166 .Nm
167 server.
168 .Pp
169 The default action, unless directed otherwise with a special
170 .Ar name ,
171 is to do a very broad search, looking for matches to
172 .Ar name
173 in all types of records and most fields (name, nicknames, hostname, net
174 address, etc.) in the database.
175 For more information as to what
176 .Ar name
177 operands have special meaning, and how to guide the search, use
178 the special name
179 .Dq Li help .
180 .Sh SEE ALSO
181 .Rs
182 .%A Ken Harrenstien
183 .%A Vic White
184 .%T NICNAME/WHOIS
185 .%D 1 March 1982
186 .%O RFC 812
187 .Re
188 .Sh HISTORY
189 The
190 .Nm
191 command appeared in
192 .Bx 4.3 .