Bug 7931 - fwhois doesn't handle redirects
Summary: fwhois doesn't handle redirects
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fwhois
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
URL: http://www.thibault.org/whois2
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-12-21 17:46 UTC by John Stracke
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-07-25 19:47:18 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.