[86990] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: IP Prefixes are allocated ..

daemon@ATHENA.MIT.EDU (Florian Weimer)
Mon Nov 28 02:44:17 2005

From: Florian Weimer <fw@deneb.enyo.de>
To: "Christopher L. Morrow" <christopher.morrow@mci.com>
Cc: Bill Woodcock <woody@pch.net>, Glen Kent <glen.kent@gmail.com>,
	NANOG list <nanog@merit.edu>
Date: Mon, 28 Nov 2005 08:43:42 +0100
In-Reply-To: <Pine.GSO.4.58.0511280724060.20032@marvin.argfrp.us.uu.net>
	(Christopher L. Morrow's message of "Mon, 28 Nov 2005 07:25:16 +0000
	(GMT)")
Errors-To: owner-nanog@merit.edu


* Christopher L. Morrow:

>> asn.routeviews.org doesn't do longest-prefix matching, so you need a
>> short Perl script to get the correct ASN, attached below.  However,
>
> which means host -t txt <ip> will return more than one record, yes?

Exactly.

> so he can just scan for the longest length in the return? 

This is what the Perl script does, yes.

home help back first fref pref prev next nref lref last post