mirror of
https://git.savannah.gnu.org/git/inetutils.git
synced 2026-01-12 00:19:39 +08:00
whois: Cooperate with misbehaving servers.
When the socket is half-closed by the client, then some remote servers abort connection without a complete reply. The cause was located and reported by Alexander Zubkov.
This commit is contained in:
@@ -1285,6 +1285,34 @@ Verbosely explain all actions taken.
|
||||
@opindex -x
|
||||
Search only for exact matches.
|
||||
Applicable only to RPSL.
|
||||
@end table
|
||||
|
||||
@section Environment variables
|
||||
@anchor{whois environment}
|
||||
|
||||
@command{whois} holds an internal list of information servers
|
||||
and their assigned data bases.
|
||||
Queries are examined against this list to select the most
|
||||
plausible server, but the hint can always be overruled on
|
||||
the command line by use of the option @option{-h}.
|
||||
If neither of these have a say, then the default server to ask
|
||||
is @samp{whois.internic.net}, but this name is in turn overruled
|
||||
by a server name in the environment variable @env{WHOIS_SERVER}.
|
||||
|
||||
@table @env
|
||||
@item LANG
|
||||
When the server @samp{whois.nic.ad.jp} is queried, and only then,
|
||||
any non-Japanese locale in @env{LANG} will ask the server to reply
|
||||
with English text, not Japanese.
|
||||
|
||||
@item WHOIS_HIDE
|
||||
When set, the effect on @command{whois} is as if the
|
||||
option @option{-H} had been given.
|
||||
|
||||
@item WHOIS_SERVER
|
||||
Data base server to query when internal hinting is inconclusive.
|
||||
When unset, @samp{whois.internic.net} is used as default server.
|
||||
|
||||
@end table
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user