-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
radb.net not returning CIDR data anymore #259
Comments
Please try the dev branch. Here is what I am seeing returned from RADB: |
Dev-branch does work and returns valid data. The only minor thing is, that RADb returns only top-level network information. IPinfo.io will return all the /24 networks summing up to /19. What I typically do, is combine the networks to get what RADb will return directly. So, this is a non-issue to me. Ultimately, I can use this version in my application. Thank you! |
This is related to #239.
I created a version which would support optional data sources for AS-information, but the change was not approved.
Example of a data query:
My version, querying with chosen data source of ipinfo.io. When calling python3, I force to use my own modified ipwhois-library. Also there is change in 1 line of code, the one where I choose
asn_methods
as my version prefers to know against which source the HTTP-query is done:I still urge this multi-source option to be considered. When this worked last time against radb.net, it returned one (1) net for the above query. In above example, I'm omitting most of the reqonse, but reality is, for that query there are 64 CIDRs in response. Not 0. Not 1. Obviously, you can make 5 ASN-queries / day / IP-address on non-paid ipinfo.io API. This known limitation can be lifted by creating a paid account.
Please, reconsider my PR.
The text was updated successfully, but these errors were encountered: