Created attachment 211337 [details] fix patch ARIN and possibly other whois servers sometimes append a port number to the hostname in a referral, which whois(1) does not recognize. This can be seen with one of freebsd.org's addresses, which includes a referral to NYI's whois servers on an alternate port: % whois 96.47.72.84
Created attachment 211359 [details] better patch
I posted a lightly modified version of the patch for review here: https://reviews.freebsd.org/D25156
A commit references this bug: Author: markj Date: Thu Jul 9 17:27:14 UTC 2020 New revision: 363052 URL: https://svnweb.freebsd.org/changeset/base/363052 Log: whois: Handle referrals to rwhois servers. PR: 243862 Submitted by: ben@desync.com Differential Revision: https://reviews.freebsd.org/D25156 Changes: head/usr.bin/whois/whois.c
To committer: does this need an MFC? Or can this PR just be closed instead.
A commit references this bug: Author: markj Date: Sun Jul 26 18:12:54 UTC 2020 New revision: 363570 URL: https://svnweb.freebsd.org/changeset/base/363570 Log: MFC r363052: whois: Handle referrals to rwhois servers. PR: 243862 Changes: _U stable/12/ stable/12/usr.bin/whois/whois.c
(In reply to Mark Linimon from comment #4) I just missed adding an MFC tag. Thanks for the reminder.