North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: ASN database files from LACNIC or AFRINIC?

  • From: Rubens Kuhl Jr.
  • Date: Sat Oct 29 01:21:12 2005
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kVn7Ugba1qRWQhDbtNYzAdBBAwlEpoNhY9YRpwVWi2qfJWHXogDeNrrkzkBE1vS7bG7jdCT78pgtYx60oHuSROFPWUnPBITkz/VF/9hqJdJhv9TBzR2xkEWV/LB+/luRH8NGrJkGn2LwSULH6fAM79j7CxjIFDeptMsEz2l4Zsg=

You could take every asn out of the delegated list, and query
whois.lacnic.net for each one... just rate-limit the queries (1/min is
ok, I think) and after a few hours you'll have pairs like this:

aut-num:     AS1251
owner:       Fundacao de Amparo a Pesquisa do Estado de Sao Pau

But I guess that was already your plan B...


Rubens


On 10/29/05, Andreas Ott <[email protected]> wrote:
> Hi,
> On Sat, Oct 29, 2005 at 01:30:23AM -0200, Rubens Kuhl Jr. wrote:
> > ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest has IP
> > space and ASN allocations. ASN lines look like this:
> >
> > lacnic|MX|asn|278|1|19890331|allocated
> ...
>
> I found that one, but this is less helpful for what I need. I'd like
> to get a db record that has the AS number and the AS name. You know,
> for pretty printing things to screen in reports I was asked to name
> things with a name and not a number.
>
> If they instead had
>   lacnic|MX|asn|278|1|19890331|EXAMPLE-CORPORATION
> that would be great and I could adjust the parser. Well, we might have
> to settle for telling in which country the AS is allocated.
>
> -andreas
> --
> Andreas Ott                                    [email protected]
>