Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44407 - [whois] 5.2.6-1 using -H flag will always return empty

Attached to Project: Arch Linux
Opened by Yinette (yinettesys) - Tuesday, 31 March 2015, 03:01 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 19 April 2015, 09:27 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Running whois with -H argument supplied will return no output.

The -H flag is used to hide most legal disclaimers that are in query results provided by domain registries.

A bug was introduced in 5.2.6 upstream where the use of -H would return nothing at all.

Seems this has already been fixed by upstream: https://github.com/rfc1036/whois/commit/c5742eb115b4e1d0b6861171932aa46406d6ab87

Additional info:
* 5.2.6-1
* Fixed upstream in 5.2.7

Steps to reproduce:

`whois -H google.com` will return with nothing:

> $ /usr/bin/whois --version
Version 5.2.6.

Report bugs to <md+whois@linux.it>.

> $ /usr/bin/whois -H google.com

> $

`whois google.com` will return as normal along with legal disclaimers.

> $ /usr/bin/whois google.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
-------snip-------

Compiling a source copy of the latest version of whois from upstream shows that the bug is indeed fixed in their latest version:

> $ ~/src/whois/whois --version
Version 5.2.7.

Report bugs to <md+whois@linux.it>.

> $ ~/src/whois/whois -H google.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
-------snip-------
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Sunday, 19 April 2015, 09:27 GMT
Reason for closing:  Fixed

Loading...