Bug 7931

Summary: fwhois doesn't handle redirects
Product: [Retired] Red Hat Linux Reporter: John Stracke <francis+rh+bugzilla>
Component: fwhoisAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.thibault.org/whois2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-25 19:47:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Stracke 1999-12-21 17:46:16 UTC
With the advent of multiple DNS registrars, the default whois server at
rs.internic.net has started sending redirects instead of actual data.  I
have written a simple sh script, available at
<http://www.thibault.org/whois2>, which invokes fwhois (or whois, if that's
what you have) and processes the redirect.  It also sends lookups for IP
numbers to whois.arin.net (I haven't yet gotten it to handle ARIN's
redirects for other IP number registries).

This script should work fine as a dropin replacement for /usr/bin/whois
(instead of the symlink that's there now).

Comment 1 Elliot Lee 2000-02-03 23:15:59 UTC
The script itself has some /tmp race conditions, but those are fixable issues.
The bigger question is whether the user wants to have the redirect done
automatically or not.

While convenience is certainly nice to have, there is also the issue of being
consistent with what is expected - doing automatic redirection arguably violates
the principle of least surprise.

Comment 2 John Stracke 2000-02-05 03:42:59 UTC
Or, alternatively, "least surprise" means that it should keep working as it
traditionally has: you ask for information, you get it.

One option would be to include something like my wrapper, but under a different
name, so that a user can use "xwhois" (or whatever) instead of "whois".

Comment 3 Crutcher Dunnavant 2000-07-25 19:34:30 UTC
Taking ownership of this module, taking the bugs

Comment 4 Crutcher Dunnavant 2000-07-25 20:56:14 UTC
fwhois is being dropped, clossing this bug