Lines Matching defs:whois
38 static char sccsid[] = "@(#)whois.c 8.1 (Berkeley) 6/6/93";
43 __FBSDID("$FreeBSD: releng/10.3/usr.bin/whois/whois.c 283083 2015-05-18 21:27:46Z delphij $");
62 #define ABUSEHOST "whois.abuse.net"
63 #define NICHOST "whois.crsnic.net"
64 #define INICHOST "whois.networksolutions.com"
65 #define GNICHOST "whois.nic.gov"
66 #define ANICHOST "whois.arin.net"
67 #define LNICHOST "whois.lacnic.net"
68 #define KNICHOST "whois.krnic.net"
69 #define RNICHOST "whois.ripe.net"
70 #define PNICHOST "whois.apnic.net"
71 #define MNICHOST "whois.ra.net"
72 #define QNICHOST_TAIL ".whois-servers.net"
73 #define BNICHOST "whois.registro.br"
74 #define NORIDHOST "whois.norid.no"
75 #define IANAHOST "whois.iana.org"
76 #define GERMNICHOST "de.whois-servers.net"
77 #define FNICHOST "whois.afrinic.net"
78 #define DEFAULT_PORT "whois"
95 static void whois(const char *, const char *, int);
181 * TLD.whois-server.net. If the domain does not contain '.', fall
195 whois(*argv, qnichost, flags);
198 whois(*argv, qnichost, flags);
200 whois(*argv, host, flags);
210 * returns a pointer to newly allocated memory containing the whois server to
281 whois(const char *query, const char *hostname, int flags)
475 whois(query, nhost, 0);
484 "usage: whois [-aAbfgiIklmQrR6] [-c country-code | -h hostname] "