Re: [CentOS] TIP for broken ARIN whois

2011-09-14 Thread Edward Morbius
Another alternative, if you're simply looking for ASN/CIDR information, is to use the routeviews project. host -t txt 51.51.51.51.asn.routeviews.org ... returns the ASN and CIDR block of the IP in question. Note that as usual, this is reversed dotted quad, so if your original IP is 1.2.3.4, you'

Re: [CentOS] TIP for broken ARIN whois

2011-09-14 Thread Michael H. Warfield
Just a point on the curve but... ARIN has made a deliberate decision to move emphasis over to their RESTful Web Interface, Whois-RWS. Part of the reason is performance and part of the reason is for granularity of the data available. They really REALLY want people to make that move although they

Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread Bart Schaefer
On Sun, Sep 11, 2011 at 7:31 PM, Always Learning wrote: > >> >     #!/bin/bash >> >     whois -h whois.arin.net n + $1 > >> Any particular reason you used a bash script as opposed to an alias in >> your bash config? > > My understanding of aliases is I can not include additional parameters With b

Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread Always Learning
On Mon, 2011-09-12 at 10:55 +1000, Steve Walsh wrote: > I wrote:- > > A one line script solves it for me (but only for ARIN network entries). > > > > #!/bin/bash > > whois -h whois.arin.net n + $1 > Any particular reason you used a bash script as opposed to an alias in > your bash confi

Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread Steve Walsh
On 09/11/2011 12:26 AM, Always Learning wrote: > This works for me on Centos 5.6. It may assist newcomers to the Linux > world of Centos. > > whois 51.51.51.51 > > produces a normal and conventional display of data. > > However since ARIN, the North American registrar of IP addresses, > "mo

Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread me
On Sat, 10 Sep 2011, Always Learning wrote: > > On Sat, 2011-09-10 at 11:23 -0400, m...@tdiehl.org wrote: > >> Where is this syntax documented? I see the -h option in the man page >> but the n + part is not there and I would like to understand where >> that comes from. > > whois -h whois.ari

Re: [CentOS] TIP for broken ARIN whois

2011-09-10 Thread Always Learning
On Sat, 2011-09-10 at 11:23 -0400, m...@tdiehl.org wrote: > Where is this syntax documented? I see the -h option in the man page > but the n + part is not there and I would like to understand where > that comes from. whois -h whois.arin.net ? The ' n + ' are parameters (arguments) intro

Re: [CentOS] TIP for broken ARIN whois

2011-09-10 Thread me
On Sat, 10 Sep 2011, Always Learning wrote: > This works for me on Centos 5.6. It may assist newcomers to the Linux > world of Centos. > > whois 51.51.51.51 > > produces a normal and conventional display of data. > > However since ARIN, the North American registrar of IP addresses, > "modern

[CentOS] TIP for broken ARIN whois

2011-09-10 Thread Always Learning
This works for me on Centos 5.6. It may assist newcomers to the Linux world of Centos. whois 51.51.51.51 produces a normal and conventional display of data. However since ARIN, the North American registrar of IP addresses, "modernised" its WHOIS processing, a query to whois 64.