Re: Added African whois server to whois(1)
On 12/08/05, Henning Brauer [EMAIL PROTECTED] wrote: * Andreas Kahari [EMAIL PROTECTED] [2005-08-12 16:56]: On 12/08/05, Henning Brauer [EMAIL PROTECTED] wrote: * Andreas Kahari [EMAIL PROTECTED] [2005-08-12 15:47]: [cut] -f Use the African Network Information Center (AfriNIC) database. It contains network numbers registered on the African continent. I am not sure it makes sense to add these kind of abbreviations to our whois. NICs come and go, we'll soon run out of letters. I'd much prefer making $ whois 1.2.3.4 Just Work, but I haven't looked into that. I agree with that principle, but Africa is one of the big land areas out there, with a lot of countries on it, just like Asia and Europe, and I thought it would make sense to their AfriNIC in there just like we have APNIC and RIPE. well, the point is, I consider the existance of the shorthands for RIPE and APNIC and ARIN whois as historic failure that doesn't need to be repeated... I see you point and I agree. -- Andreas Kahari
Added African whois server to whois(1)
Hi, I added the African Network Information Center (AfriNIC) whois server to a new switch (-f) in the whois(1) utility. A simple diff for whois.c and whois.1 is attached. The new part of the manual says: -f Use the African Network Information Center (AfriNIC) database. It contains network numbers registered on the African continent. I'm not quite sure how to make whois(1) automatically follow referrals to AfriNIC for African IPs in the way ARIN referrals to e.g. RIPE are followed... Regards, Andreas -- Andreas Kahari --- whois.c.origFri Aug 12 13:32:45 2005 +++ whois.c Fri Aug 12 13:49:21 2005 @@ -48,6 +48,7 @@ #defineINICHOSTwhois.networksolutions.com #defineCNICHOSTwhois.corenic.net #defineDNICHOSTwhois.nic.mil +#define AFNICHOST whois.afrinic.net #defineGNICHOSTwhois.nic.gov #defineANICHOSTwhois.arin.net #defineRNICHOSTwhois.ripe.net @@ -80,7 +81,7 @@ country = host = server = NULL; flags = rval = 0; - while ((ch = getopt(argc, argv, aAc:dgh:ilmp:qQrR6)) != -1) + while ((ch = getopt(argc, argv, aAc:dfgh:ilmp:qQrR6)) != -1) switch (ch) { case 'a': host = ANICHOST; @@ -93,6 +94,9 @@ break; case 'd': host = DNICHOST; + break; + case 'f': + host = AFNICHOST; break; case 'g': host = GNICHOST; --- whois.1.origFri Aug 12 13:36:33 2005 +++ whois.1 Fri Aug 12 13:47:44 2005 @@ -87,6 +87,9 @@ Use the US Department of Defense database. It contains points of contact for subdomains of .Tn \.MIL . +.It Fl f +Use the African Network Information Center (AfriNIC) database. +It contains network numbers registered on the African continent. .It Fl g Use the US non-military federal government database, which contains points of contact for subdomains of
Re: Added African whois server to whois(1)
On 12/08/05, Henning Brauer [EMAIL PROTECTED] wrote: * Andreas Kahari [EMAIL PROTECTED] [2005-08-12 15:47]: Hi, I added the African Network Information Center (AfriNIC) whois server to a new switch (-f) in the whois(1) utility. A simple diff for whois.c and whois.1 is attached. The new part of the manual says: -f Use the African Network Information Center (AfriNIC) database. It contains network numbers registered on the African continent. I am not sure it makes sense to add these kind of abbreviations to our whois. NICs come and go, we'll soon run out of letters. I'd much prefer making $ whois 1.2.3.4 Just Work, but I haven't looked into that. I agree with that principle, but Africa is one of the big land areas out there, with a lot of countries on it, just like Asia and Europe, and I thought it would make sense to their AfriNIC in there just like we have APNIC and RIPE. I will need to look more closely on how to automatically look up AfriNIC when a RIPE entry refers to it. I'm a bit short on time right now, but might give it a go next week unless someone could point me in the right direction (or simply makes it happen somehow). Cheers, Andreas -- Andreas Kahari
Re: Added African whois server to whois(1)
On 12/08/05, Martin Schrvder [EMAIL PROTECTED] wrote: On 2005-08-12 16:06:03 +0200, Henning Brauer wrote: whois. NICs come and go, we'll soon run out of letters. I'd much prefer making $ whois 1.2.3.4 Just Work, but I haven't looked into that. Use whois.thur.de as server Why? For the IP 80.248.70.99 (an IP in Togo), this just gives me the same info as from RIPE... AfriNIC gives more details. -- Andreas Kahari
Re: Added African whois server to whois(1)
* Martin Schrvder [EMAIL PROTECTED] [2005-08-12 17:51]: On 2005-08-12 16:06:03 +0200, Henning Brauer wrote: whois. NICs come and go, we'll soon run out of letters. I'd much prefer making $ whois 1.2.3.4 Just Work, but I haven't looked into that. Use whois.thur.de as server eh, no, using the real whois servers of course. -- BS Web Services, http://www.bsws.de/ OpenBSD-based Webhosting, Mail Services, Managed Servers, ... Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
Re: Added African whois server to whois(1)
* Andreas Kahari [EMAIL PROTECTED] [2005-08-12 16:56]: On 12/08/05, Henning Brauer [EMAIL PROTECTED] wrote: * Andreas Kahari [EMAIL PROTECTED] [2005-08-12 15:47]: Hi, I added the African Network Information Center (AfriNIC) whois server to a new switch (-f) in the whois(1) utility. A simple diff for whois.c and whois.1 is attached. The new part of the manual says: -f Use the African Network Information Center (AfriNIC) database. It contains network numbers registered on the African continent. I am not sure it makes sense to add these kind of abbreviations to our whois. NICs come and go, we'll soon run out of letters. I'd much prefer making $ whois 1.2.3.4 Just Work, but I haven't looked into that. I agree with that principle, but Africa is one of the big land areas out there, with a lot of countries on it, just like Asia and Europe, and I thought it would make sense to their AfriNIC in there just like we have APNIC and RIPE. well, the point is, I consider the existance of the shorthands for RIPE and APNIC and ARIN whois as historic failure that doesn't need to be repeated... -- BS Web Services, http://www.bsws.de/ OpenBSD-based Webhosting, Mail Services, Managed Servers, ... Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
Re: Added African whois server to whois(1)
On 2005-08-12 17:05:40 +0100, Andreas Kahari wrote: On 12/08/05, Martin Schrvder [EMAIL PROTECTED] wrote: On 2005-08-12 16:06:03 +0200, Henning Brauer wrote: whois. NICs come and go, we'll soon run out of letters. I'd much prefer making $ whois 1.2.3.4 Just Work, but I haven't looked into that. Use whois.thur.de as server Why? For the IP 80.248.70.99 (an IP in Togo), this just gives me the same info as from RIPE... AfriNIC gives more details. Then report it to Lutz. If you use whois.thur.de as host for your queries, they will just work, even if you try 1.2.3.4 or thur.de :-) Best Martin -- http://www.tm.oneiros.de