Search RPD Archives
[rpd] Legacy holders?
Daniel Shaw
daniel at techdad.xyz
Wed Jul 3 21:24:38 UTC 2019
On Tue, 2 Jul 2019 at 14:19, Noah <noah at neo.co.tz> wrote:
>
> Actually a quick cli check will also show legacy but you have to know the block
>
> noah$ whois -h whois.afrinic.net <block> | grep LEGACY
> status: LEGACY
>
Actually not. There is no "LEGACY" status in the AFRINIC database.
>From 'whois -h whois.afrinic.net -v inetnum' ..
status
Specifies the status of the address range represented by inetnum
object.
Status can have one of these values:
o ALLOCATED PA
This status is given to resources issued by AFRINIC to Resource
members - LIRs and are to be used on the LIR's infrastructure and
customers(End-Users)
o ALLOCATED UNSPECIFIED
This status is used by AFRINIC in placeholder records
o SUB-ALLOCATED PA
This status is given to IP address prefixes that have been
sub-allocated
by a LIR to its customer which is also an ISP and will be further
distributed to the ISP's customers
o ASSIGNED PA
This status is given to IP addresses registered as being
assigned by an
LIR to its infrastructure and customers
o ASSIGNED PI
This status is given to resources issued by AFRINIC to its Resource
members - End-Users to be used on their own infrastructure
o ASSIGNED ANYCAST
This status is given to resources that get issued under the Assigned
Anycast policy
o POLICY-RESERVED
This status is given to resources that AFRINIC has to
reserve to comply
with policies that have been ratified
**RIPE**'s database is different:
(whois -h whois.ripe.net -v inetnum)
status
Specifies the status of the resource.
Status can have one of these values:
o ALLOCATED PA
o ALLOCATED PI
o ALLOCATED UNSPECIFIED
o LIR-PARTITIONED PA
o LIR-PARTITIONED PI
o SUB-ALLOCATED PA
o ASSIGNED PA
o ASSIGNED PI
o ASSIGNED ANYCAST
o EARLY-REGISTRATION
o NOT-SET
o LEGACY
And APNIC is again, different:
status
The status of the address range represented by the inetnum
object.
Syntax:
Status can have one of these values:
- ALLOCATED PORTABLE
- ALLOCATED NON-PORTABLE
- ASSIGNED PORTABLE
- ASSIGNED NON-PORTABLE
ARIN and LACNIC whois do not support the '-v' switch on port 43.
Also:
$ grep -E '^status:' afrinic.db |sort |uniq -c
2302 status: ALLOCATED PA
155 status: ALLOCATED UNSPECIFIED
636 status: ALLOCATED-BY-RIR
1735 status: ASSIGNED
11 status: ASSIGNED ANYCAST
152315 status: ASSIGNED PA
1558 status: ASSIGNED PI
206 status: Assigned PA
24 status: POLICY-RESERVED
350 status: SUB-ALLOCATED PA
-- Daniel
More information about the RPD
mailing list