summaryrefslogtreecommitdiff
path: root/usr.bin/whois
AgeCommit message (Collapse)Author
2007-08-29add lacnic and afrinic to the list in the -a descrHenning Brauer
2007-08-29add afrinic to the list of known whois servers so that referrals areHenning Brauer
followed, part of PR 5566 From: Frank Habicht <geier@tih.co.tz> I am not convinced we really want to add new shortcuts on teh commandline for all whois hosts. the number is increasing, do we really want to add on option for each? shouldn't we rely on the referrals (working just fine)?
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-07-05Remove unused variable; Lawrence TeoTodd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2006-09-17when looking up ASNs (ASxxxx), select radbHenning Brauer
2006-06-01Like DENIC, DK-HOSTMASTER is requires extra attention. This makes youMichael Knudsen
actually get handle information when looking up .dk domains. While there, make the DENIC stuff use the QNICHOST_TAIL symbol. Original diff from Soeren Hansen because I was complaining about this, tweaked by me. ok beck (holding his nose).
2005-07-22for .de domains, we need to send more shit to the denic whois server soHenning Brauer
that idn domains are handled correctly...
2005-06-27 * pass -Wshadow as well (port_whois vs port)Henning Brauer
* save errno value properly * better realloc(3) All changes taken from NetBSD (partly from -r1.23 and -r1.25). From: Andrey Matveev <evol@online.ptt.ru>, thanks!
2005-06-25-Wall clean nowHenning Brauer
2005-06-25couldn't stop my fingers from doing some cleanupHenning Brauer
2005-06-25$OpenBSD$, got botchedHenning Brauer
2005-06-22slightly simplify; christos@netbsdHenning Brauer
2005-06-22deal with german stupidity... nic.de decided that it is a good idea toHenning Brauer
screw everybody trying to use whois and to require some esoteric flags to be send with the query to get the regular whois output, which is not only a pain in the ass to type, but also breaks the automatic server selection via <tld>.whois-servers.net. thus, deal with their stupidity by sending these flags unconditionally whenever we talk to their server. ok hshoexer claudio
2003-10-20typos from Jared Yanovich, slightly ammended;Jason McIntyre
2003-10-12sort options and sync usage();Jason McIntyre
from wiz@netbsd
2003-10-04whois port hack thingy; rperkins@tcsg.netTheo de Raadt
2003-09-18if length is 1, don't try to null memory that doesn't belong to us.Federico G. Schwindt
found by tedu@, ok by millert@ and him.
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-15I lied, we didn't skip blanks after WHOIS_SERVER_ID; this fixes that.Todd C. Miller
2003-04-15Remove trailing space in "Whois Server: " since not all recordsTodd C. Miller
have whitespace separating that string and the hostname of the whois server (and we strip out whitespace before the hostname anyway). Fixes lookups of .org and probably others.
2003-01-15Fixes from Andrey Matveev:Todd C. Miller
o Remove bogus cast to char in getopt() switch o Check for strdup() failure o Don't list -p option twice in usage()
2003-01-07Whois updates, mostly adapted from FreeBSDTodd C. Miller
o make "whois -i" go to whois.networksolutions.com o add "-p port" option (renamed old -p to -A) o add support for recursive lookups of IP numbers o remove WHOIS_INIC_FALLBACK, it is no longer useful o man page updates
2003-01-06Rename VNICHOST -> NNICHOST now that Verisign has spun off NSI.Todd C. Miller
2003-01-05Use a temp variable when cycling through ai_addr's so we don't passTodd C. Miller
freeaddrinfo() a NULL pointer if the hostname is not resolvable.
2002-12-19Recognize CORENIC handles and use CNICHOST like we do VNICHOST ones.Todd C. Miller
By request and based on a diff from Henning Brauer
2002-12-19o Add -6 and -c options from FreeBSDTodd C. Miller
o Get rid of sysexits.h from Andrey Matveev o Some simplification and cleanup by me (improved readability, less code) o Add logic to use whois.networksolutions.com if name is a handle starting with '!'
2002-12-17ANSIfu and if given multiple names, don't exit if we get an errorTodd C. Miller
looking up just one. Exit value is now the number of errors found trying to lookup all the names. Some bits from Andrey Matveev.
2002-09-05lacnic support; from Loic Tortay <loict@bougon.net>.Federico G. Schwindt
2002-05-29strlcatTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-13When you give command examples and etc., in a manual page prefix them with:Mike Pechkin
$ command or # command deraadt@ ok
2002-01-21correct usage; ok deraadt@Kevin Steves
2001-10-04Deal with whois output that lacks a final newline. This is not legalTodd C. Miller
but apparently there are broken whois servers out there.
2000-07-12make whois(1) IPv6-ready. patch from deraadt + minor tweaks.Jun-ichiro itojun Hagino
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-14Finish off cleanup usr.bin/ man pages.Aaron Campbell
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-01-22ie. -> i.e.,Aaron Campbell
1999-11-26socks support that should have gotten committed with the whois.c socks changesTodd C. Miller
1999-11-19blank lineTheo de Raadt
1999-11-19When eearching for the string: No match for "FOO".Todd C. Miller
verify that the length of the quoted string == length of the name we are looking up. Inspired but not based on a FreeBSD change.
1999-11-19o Add -Q option to usage stringTodd C. Miller
o Add SOCKS support from FreeBSD
1999-11-15o Make -q option the defaultTodd C. Miller
o When invoked with no arguments and the record contains 'Whois Server: foo' also do the lookup using foo as the whois server. o If an entry BAR is not found (No match for "BAR"), fall back on whois.internic.net. This makes internic handle lookups work again. o Fix lookup of multiple entries o Add -Q (quick) option to turn off double lookup Note: Double lookups will not work properly until {com,net,org}.whois-servers.net has been changed to point to whois.crsnic.net (in progress). Man page still needs a bit of work.
1999-11-15From FreeBSD:Todd C. Miller
o Change default nic host to whois.crsnic.net to also get hosts registered by registrars other than NSI. o -i option to use NSI's nic host (whois.internic.net) o -g option to use .gov nic host o -R option to use .ru nic host
1999-10-04more detailTheo de Raadt
1999-10-03whois-servers.net and whois.ra.net support; jabley@patho.gen.nzTheo de Raadt