View | Details | Raw Unified | Return to bug 26678
Collapse All | Expand All

(-)whois/whois.1 (-3 / +7 lines)
Lines 40-46 Link Here
40
.Nd Internet domain name and network number directory service
40
.Nd Internet domain name and network number directory service
41
.Sh SYNOPSIS
41
.Sh SYNOPSIS
42
.Nm
42
.Nm
43
.Op Fl adgimpQrR6
43
.Op Fl adgimpQrRu6
44
.Op Fl h Ar host
44
.Op Fl h Ar host
45
.Ar name ...
45
.Ar name ...
46
.Sh DESCRIPTION
46
.Sh DESCRIPTION
Lines 117-124 Link Here
117
.It Fl p
117
.It Fl p
118
Use the Asia/Pacific Network Information Center
118
Use the Asia/Pacific Network Information Center
119
.Pq Tn APNIC
119
.Pq Tn APNIC
120
database.  It contains network numbers used in East Asia, Australia,
120
database.  It contains network numbers used in East Asia, New Zealand,
121
New Zealand, and the Pacific islands.
121
and the Pacific islands.
122
.It Fl Q
122
.It Fl Q
123
Do a quick lookup.  This means that
123
Do a quick lookup.  This means that
124
.Nm
124
.Nm
Lines 136-141 Link Here
136
database.  It contains network numbers and domain contact information
136
database.  It contains network numbers and domain contact information
137
for subdomains of
137
for subdomains of
138
.Tn \&.RU .
138
.Tn \&.RU .
139
.It Fl u
140
Use the Australia Network Information Center
141
.Pq Tn AUNIC
142
database.  It contains network numbers used in Australia
139
.It Fl 6
143
.It Fl 6
140
Use the IPv6 Resource Center
144
Use the IPv6 Resource Center
141
.Pq Tn 6bone
145
.Pq Tn 6bone
(-)whois/whois.c (-2 / +6 lines)
Lines 62-67 Link Here
62
#define	DNICHOST	"whois.nic.mil"
62
#define	DNICHOST	"whois.nic.mil"
63
#define	GNICHOST	"whois.nic.gov"
63
#define	GNICHOST	"whois.nic.gov"
64
#define	ANICHOST	"whois.arin.net"
64
#define	ANICHOST	"whois.arin.net"
65
#define	AUNICHOST	"whois.aunic.net"
65
#define	RNICHOST	"whois.ripe.net"
66
#define	RNICHOST	"whois.ripe.net"
66
#define	PNICHOST	"whois.apnic.net"
67
#define	PNICHOST	"whois.apnic.net"
67
#define	RUNICHOST	"whois.ripn.net"
68
#define	RUNICHOST	"whois.ripn.net"
Lines 96-102 Link Here
96
	qnichost = NULL;
97
	qnichost = NULL;
97
	flags = 0;
98
	flags = 0;
98
	use_qnichost = 0;
99
	use_qnichost = 0;
99
	while ((ch = getopt(argc, argv, "adgh:impQrR6")) != -1) {
100
	while ((ch = getopt(argc, argv, "adgh:impQrRu6")) != -1) {
100
		switch((char)ch) {
101
		switch((char)ch) {
101
		case 'a':
102
		case 'a':
102
			host = ANICHOST;
103
			host = ANICHOST;
Lines 128-133 Link Here
128
		case 'R':
129
		case 'R':
129
			host = RUNICHOST;
130
			host = RUNICHOST;
130
			break;
131
			break;
132
		case 'u':
133
			host = AUNICHOST;
134
			break;
131
		case '6':
135
		case '6':
132
			host = SNICHOST;
136
			host = SNICHOST;
133
			break;
137
			break;
Lines 292-297 Link Here
292
usage()
296
usage()
293
{
297
{
294
	(void)fprintf(stderr,
298
	(void)fprintf(stderr,
295
	    "usage: whois [-adgimpQrR6] [-h hostname] name ...\n");
299
	    "usage: whois [-adgimpQrRu6] [-h hostname] name ...\n");
296
	exit(EX_USAGE);
300
	exit(EX_USAGE);
297
}
301
}

Return to bug 26678