]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
A lot of the cleverness in whois is no longer needed!
authorfanf <fanf@FreeBSD.org>
Sat, 23 Jan 2016 00:28:18 +0000 (00:28 +0000)
committerfanf <fanf@FreeBSD.org>
Sat, 23 Jan 2016 00:28:18 +0000 (00:28 +0000)
commitd92f8a19a91620b66da4d56f1141aedb44582c11
tree486fc05e8661a7b55f37b3b17da110128cfc5fbc
parent057d736604eed731d9aa730e87220c4caa227ae3
A lot of the cleverness in whois is no longer needed!

The IANA whois server has the right referral information for domain
names, IP addresses, and AS numbers, so whois does not need to be
able to choose servers itself (except for a few cases where referrals
do not work). We can delete a chunk of code, which is always fun.

This change improves the referral handling to be less sensitive to
all the various formats, and to allow multi-hop referral chains,
such as IANA -> registry -> registrar.

ARIN queries have the "+" flag added if no flags are present, so we
get full details if the query matches multiple objects. The Verisign
anti-spam logic is also now suppressed if the user provided a non-
trivial query string.

Uninformative rubric is now trimmed by default. The -S option
turns off trimming, and disables query fettling.

The -i option is back to its traditional pre-1999 hostname, since
whois.internic.net is more useful than whois.networksolutions.com.
Note that the old fallback/default server whois.crsnic.net is an
alias for whois.internic.net.

The manual is more informative about query syntax.
usr.bin/whois/whois.1
usr.bin/whois/whois.c