Irr Route Lookup
irr_route_lookupFind IRR route objects for an IP prefix or ASN, then compare them with RPKI and BGP data to detect registration and routing inconsistencies.
Instructions
Look up IRR route objects for a prefix or origin ASN.
Queries Internet Routing Registries to find what route objects exist. Compare with RPKI (rpki_validate) and actual BGP (bgp_prefix_origin) to identify inconsistencies between what's registered, what's authorized, and what's actually announced.
The query must be an ASN ('AS13335' or bare '13335', normalised to
'AS13335') or an IP prefix/address (normalised to CIDR form); anything
else is rejected. Each returned object reports both registry (the
server it was fetched from) and source (the registry that
authoritatively holds it), which differ for objects mirrored by RADB.
Results are capped at 200 objects; total is the uncapped count.
If a registry cannot be reached, error is set and the objects from
the remaining registries are still returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | IP prefix (e.g. '1.1.1.0/24') to look up route objects, or ASN (e.g. 'AS13335' or '13335') to find all route objects registered with that origin | |
| sources | No | Comma-separated IRR sources to query (e.g. 'radb,ripe'). Available: radb, ripe, arin, apnic, afrinic, lacnic, nttcom, level3, altdb. Default queries RADB and RIPE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set when the whois query failed; other fields may be empty or partial. | |
| query | Yes | Normalised query: an ASN as 'ASnnn' or a prefix in CIDR form | |
| total | Yes | Total route objects found across all queried registries, before the cap | |
| objects | No | Route objects found, capped at 200; `total` holds the uncapped count | |
| sources | No | Registries queried, in order |