From owner-freebsd-bugs Fri Feb 2 9:57:31 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from polaris.tct.net (polaris.tct.net [216.94.230.10]) by hub.freebsd.org (Postfix) with ESMTP id 8F65E37B67D for ; Fri, 2 Feb 2001 09:57:13 -0800 (PST) Received: from [192.168.1.10] (vega.tct.net [216.94.230.13]) by polaris.tct.net (8.9.3/8.9.3) with ESMTP id MAA28467; Fri, 2 Feb 2001 12:58:09 -0500 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Fri, 02 Feb 2001 12:57:09 -0500 Subject: Re: bin/24707: [patch] Whois IP Address Handling From: Mike Barcroft To: Peter Pentchev Cc: , Message-ID: In-Reply-To: <20010202190114.W328@ringworld.oblivion.bg> Mime-version: 1.0 Organization: q9 media Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>> If a host is not specified and the user enters a query of >>> an IP address, query whois.arin.net instead of returning: >>> whois: 0.whois-servers.net: No Address associated with hostname >> >> What does this do for European addresses? Normally we'd use >> whois.ripe.net for these. Is there anyway that you can modify this >> patch to get these referred? If you can I'll definitely integrate it. > > Hmm I was wondering about the same thing.. this is not just about > American vs. European, either - whois already has cmdline switches > for .mil, US DoD, NetSol, RADB, Russian, Asian and 6bone address > queries; to add the proper auto-recognition would mean differentiation > by address class, first octet, type or whatever. I do not really > think this is feasible. > > Mmm.. is the originator aware of the -a option to whois, which > already queries ARIN? ARIN will either return information about the record or tell you the correct whois server to query. # whois -a 195.92.95.0 European Regional Internet Registry/RIPE NCC (NETBLK-RIPE-C) These addresses have been further assigned to European users. Contact information can be found in the RIPE database, via the WHOIS and TELNET servers at whois.ripe.net, and at http://www.ripe.net/db/whois.html [snip] The question is, which is more correct: to return an error even though we know the user has entered an IP address, or to query a whois server which will return meaningful data. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message