-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Currently, when ARIN has multiple results for an IP address, the WHOIS data adapter fails to return data. Sample IPs that demonstrate this include 24.255.164.88, 65.118.97.162, and 68.110.253.17
In each of these cases, ARIN has multiple records with different Network Type values. We want to update the WHOIS plugin to better handle these cases and return the data from the most specific record. The preference order for Network Types will be:
- Reassigned
- Direct Assignment
- Direct Allocation
- Reallocated
Input Criteria
- WHOIS data adapter works
Output Criteria
- When a single record is present, data adapter returns data for that record
- When multiple records are present, data adapter returns data for the record with the most preferred Network Type
- Fix backported to 4.0
- Fix backported to 3.3
Tasks
- Update ARIN parser to handle multiple records
- Write JUnit tests for behavior
- Backport to 4.0
- Backport to 3.3