From: Todd C. Miller Subject: whois: use whois.internic.net for -i option To: tech@openbsd.org Date: Tue, 05 Mar 2024 08:50:56 -0700 In revision 1.22 I changed -i to use whois.networksolutions.com, however Network Solutions no longer runs InterNic so this no longer works for looking up nameserver or registrar records. Revert this change and update the descriptions based on the FreeBSD version. - todd Index: usr.bin/whois/whois.1 =================================================================== RCS file: /cvs/src/usr.bin/whois/whois.1,v retrieving revision 1.38 diff -u -p -u -r1.38 whois.1 --- usr.bin/whois/whois.1 21 Aug 2023 11:12:28 -0000 1.38 +++ usr.bin/whois/whois.1 5 Mar 2024 15:38:33 -0000 @@ -130,37 +130,26 @@ Use the Internet Assigned Numbers Author root zone database. It contains information about top-level domains. .It Fl i -Use the Network Solutions Registry for Internet Numbers -.Pq Tn whois.networksolutions.com +Use the traditional Network Information Center (InterNIC) +.Pq Tn whois.internic.net database. -Historically, it contained network numbers and domain contact information -for most of +This now contains only registrations for domain names under .Tn \&.COM , .Tn \&.NET , .Tn \&.ORG and -.Tn \&.EDU -domains. -However, the registration of these domains is now done by a number of -independent and competing registrars and this database holds no information -on the domains registered by organizations other than Network Solutions, Inc. -Also, note that the -.Tn InterNIC -database -.Pq Pa whois.internic.net -is no longer handled by Network Solutions, Inc. -For details, see -.Lk https://www.internic.net/ . -.Pp -(Hint: Contact information, identified by the term -.Em handle , -can be looked up by prefixing -.Qq Li \&! -or -.Qq Li handle\ \& -to the -.Tn NIC -handle in the query.) +.Tn \&.EDU . +You can optionally specify the type of object to search for: +.D1 Ic whois -i ' Ns Ar type Ar name Ns Ic ' +where +.Ar type +is one of +.Em domain , nameserver , registrar . +The +.Ar name +may also contain +.Li * +wildcards. .It Fl l Use the Latin American and Caribbean IP address Regional Registry .Pq Tn LACNIC Index: usr.bin/whois/whois.c =================================================================== RCS file: /cvs/src/usr.bin/whois/whois.c,v retrieving revision 1.58 diff -u -p -u -r1.58 whois.c --- usr.bin/whois/whois.c 19 Jun 2018 11:28:11 -0000 1.58 +++ usr.bin/whois/whois.c 5 Mar 2024 15:17:15 -0000 @@ -45,7 +45,7 @@ #include #define NICHOST "whois.crsnic.net" -#define INICHOST "whois.networksolutions.com" +#define INICHOST "whois.internic.net" #define CNICHOST "whois.corenic.net" #define DNICHOST "whois.nic.mil" #define GNICHOST "whois.nic.gov"