Print this page
11622 clean up rarer mandoc lint warnings
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1/whois.1.man.txt
+++ new/usr/src/man/man1/whois.1.man.txt
1 1 WHOIS(1) User Commands WHOIS(1)
2 2
3 3
4 4
5 5 NAME
6 6 whois - Internet domain name and network number directory service
7 7
8 8 SYNOPSIS
9 9 whois [-aAbfgiIklmQr] [-c country-code | Fl h host] [-p port] name...
10 10
11 11 DESCRIPTION
12 12 The whois utility looks up records in the databases maintained by
13 13 several Network Information Centers (NICs).
14 14
15 15 The options are as follows:
16 16
17 17 -a Use the American Registry for Internet Numbers (ARIN) database.
18 18 It contains network numbers used in those parts of the world
19 19 covered neither by APNIC, AfriNIC, LACNIC, nor by RIPE.
20 20
21 21 (Hint: All point of contact handles in the ARIN whois database
22 22 end with -ARIN.)
23 23
24 24
25 25 -A Use the Asia/Pacific Network Information Center (APNIC)
26 26 database. It contains network numbers used in East Asia,
27 27 Australia, New Zealand, and the Pacific islands.
28 28
29 29 -b Use the Network Abuse Clearinghouse database. It contains
30 30 addresses to which network abuse should be reported, indexed by
31 31 domain name.
32 32
33 33 -c country-code
34 34 This is the equivalent of using the -h option with an argument
35 35 of country-code.whois-servers.net.
36 36
37 37 -f Use the African Network Information Centre (AfriNIC) database.
38 38 It contains network numbers used in Africa and the islands of
39 39 the western Indian Ocean.
40 40
41 41 -g Use the US non-military federal government database, which
42 42 contains points of contact for subdomains of .GOV.
43 43
44 44 -h host
45 45 Use the specified host instead of the default variant. Either a
46 46 host name or an IP address may be specified.
47 47
48 48 By default whois constructs the name of a whois server to use
49 49 from the top-level domain (TLD) of the supplied (single)
50 50 argument, and appending .whois-servers.net . This effectively
51 51 allows a suitable whois server to be selected automatically for
52 52 a large number of TLDs.
53 53
54 54 In the event that an IP address is specified, the whois server
55 55 will default to the American Registry for Internet Numbers
56 56 (ARIN). If a query to ARIN references APNIC, AfriNIC, LACNIC,
57 57 or RIPE, that server will be queried also, provided that the -Q
58 58 option is not specified.
59 59
60 60 If the query is not a domain name or IP address, whois will fall
61 61 back to whois.crsnic.net.
62 62
63 63 -i Use the Network Solutions Registry for Internet Numbers
64 64 (whois.networksolutions.com) database. It contains network
65 65 numbers and domain contact information for most of
66 66 .COM,.NET,.ORG and .EDU domains.
67 67
68 68 NOTE ! The registration of these domains is now done by a
69 69 number of independent and competing registrars and this database
70 70 holds no information on the domains registered by organizations
71 71 other than Network Solutions, Inc. Also, note that the InterNIC
72 72 database (whois.internic.net) is no longer handled by Network
73 73 Solutions, Inc. For details, see http://www.internic.net/.
74 74
75 75 (Hint: Contact information, identified by the term handle, can
76 76 be looked up by prefixing "handle" to the NIC handle in the
77 77 query.)
78 78
79 79 -I Use the Internet Assigned Numbers Authority (IANA) database. It
80 80 contains network information for top-level domains.
81 81
82 82 -k Use the National Internet Development Agency of Korea's (KRNIC)
83 83 database. It contains network numbers and domain contact
84 84 information for Korea.
85 85
86 86 -l Use the Latin American and Caribbean IP address Regional
87 87 Registry (Tn LACNIC) database. It contains network numbers used
88 88 in much of Latin America and the Caribbean.
89 89
90 90 -m Use the Route Arbiter Database (RADB) database. It contains
91 91 route policy specifications for a large number of operators'
92 92 networks.
93 93
94 94 -p port
95 95 Connect to the whois server on port. If this option is not
96 96 specified, whois defaults to port 43.
97 97
98 98 -Q Do a quick lookup. This means that whois will not attempt to
99 99 lookup the name in the authoritative whois server (if one is
100 100 listed). This option has no effect when combined with any other
101 101 options.
102 102
103 103 -r Use the R'eseaux IP Europ'eens (RIPE) database. It contains
104 104 network numbers and domain contact information for Europe.
105 105
106 106 The operands specified to whois are treated independently and
107 107 may be used as queries on different whois servers.
108 108
109 109 EXIT STATUS
110 110 The whois utility exits 0 on success, and >0 if an error occurs.
111 111
112 112 EXAMPLES
113 113 Most types of data, such as domain names and IP addresses, can be used
114 114 as arguments to whois without any options, and whois will choose the
115 115 correct whois server to query. Some exceptions, where whois will not
116 116 be able to handle data correctly, are detailed below.
117 117
118 118 To obtain contact information about an administrator located in the
119 119 Russian TLD domain RU, use the -c option as shown in the following
120 120 example, where CONTACT-ID is substituted with the actual contact
121 121 identifier.
122 122
123 123 whois -c RU CONTACT-ID
124 124
125 125 (Note: This example is specific to the TLD RU, but other TLDs can be
126 126 queried by using a similar syntax.)
127 127
128 128 The following example demonstrates how to query a whois server using a
129 129 non-standard port, where ``query-data'' is the query to be sent to
130 130 ``whois.example.com'' on port ``rwhois'' (written numerically as 4321).
131 131
132 132 whois -h whois.example.com -p rwhois query-data
133 133
134 134 SEE ALSO
135 135 Vic White and Ken Harrenstien, NICNAME/WHOIS, 1 March 1982, RFC 812.
136 136
137 137 HISTORY
138 138 The whois command appeared in 4.3BSD.
139 139
140 140
141 141
142 142 October 2, 2009 WHOIS(1)
↓ open down ↓ |
142 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX