RDAP and missed AS num (field origin)

Hello!

If you run the whois command 217.150.200.202, we get a report containing the number of the autonomous system:

root@gate:~ # whois 217.150.200.202

% Information related to ‘217.150.200.0/24AS24936’

route: 217.150.200.0/24
descr: RIM2000M
origin: AS24936
mnt-by: RIM2000-MNT
created: 2013-05-23T06:24:15Z
last-modified: 2013-05-23T06:24:15Z
source: RIPE # Filtered

If you request the same thing via rdap (https://rdap.db.ripe.net/ip/217.150.200.202 ), then we get an answer without the number of the autonomous system. How and where can I get a result similar to the output of the WHOIS command via RDAP? Thanks

Good Morning!
The IP network object class can contain: objectClassName, handle, startAddress, endAddress, ipVersion, name, type, country, parentHandle, status, entities, remarks, links, port43 and events. From this members “handle”, “startAddress”, “endAddress”, "ipVersion, and “status” are required to be there.
Please refer to RFC 9083 - JSON Responses for the Registration Data Access Protocol (RDAP) or https://bitbucket.org/nroecg/nro-rdap-profile/raw/v1/nro-rdap-profile.txt if you have further questions.

Currently we do not send the AS numbers as part of RDAP response.

Could you provide me with more information? If you are using RDAP for routing information RDAP doesn’t support that yet.

1 Like

Thank you,
RFC 9083 needs to be changed, because the idea with RDAP is great, which allows you to get information with one request regardless of the RIR, but the implementation is very strange. Since RIPE and ARIN send ASNum on some subnets, however, for most they do not.

Thank you for your feedback, we will consider it,
To give you more information, one option to request for the AS is using RESTful API Queries | Docs
Have a nice day!

You can use the RDAP query interface provided by the Regional Internet Registry (RIR) responsible for the IP address range in question. In the case of the IP address 217.150.200.202, which falls within the RIPE NCC region, you can use the RIPE NCC RDAP interface.

Here’s how you can obtain similar information via RDAP for the IP address 217.150.200.202:

  1. Visit the RIPE NCC RDAP interface: https://rdap.db.ripe.net/ip/217.150.200.202
  2. You will receive a JSON response containing various details about the IP address, including the CIDR range, description, and other relevant information. The “entities” field may contain references to related entities, including the Autonomous System Number (ASN) associated with the IP address.
  3. To obtain the ASN associated with the IP address, you can follow the “entities” field or query the RDAP interface for the specific ASN. For example, you can query the RIPE NCC RDAP interface for AS24936 to obtain details about the whips balloons system.