On Wed, Jul 26 2017, Stuart Henderson <s...@spacehopper.org> wrote:
> the https://www.icann.org/resources/pages/rdds-labeling-policy-2017-02-01-en
> changes have gone live (at least for com/net), so whois(1) no longer chases
> referrals. OK to change the string to the new one?

Would it make sense to keep looking for "Whois Server:" but use
strcasestr(3) instead, to support both key names?

> diff --git usr.bin/whois/whois.c usr.bin/whois/whois.c
> index 907d102b2f8..0e608295edf 100644
> --- usr.bin/whois/whois.c
> +++ usr.bin/whois/whois.c
> @@ -62,7 +62,7 @@
>  #define      QNICHOST_TAIL   ".whois-servers.net"
>  
>  #define      WHOIS_PORT      "whois"
> -#define      WHOIS_SERVER_ID "Whois Server:"
> +#define      WHOIS_SERVER_ID "Registrar WHOIS Server:"
>  
>  #define WHOIS_RECURSE                0x01
>  #define WHOIS_QUICK          0x02
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to