How do I know which RIR server to query for an IP address?
Question
How do I know which IP ranges are being allocated to the 5 Regional Internet Registries such as ARIN and RIPE, and thus which whois to query.
If I make it static, how often would I have to update the list? Or are all IPv4 ranges gone now..
OTHER TIPS
The previous answers seems not to be fully correct. IANA lists 62/8 for RIPE NCC but e.g. for 62.68.234.234 whois.ripe.net will respond with:
IPv4 address block not managed by the RIPE NCC
I guess the reliable approach would be to load the assignment lists and check against those (like suggested here).
- ftp://ftp.arin.net/pub/stats/arin/delegated-arin-extended-latest
- ftp://ftp.ripe.net/ripe/stats/delegated-ripencc-latest
- ftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latest
- ftp://ftp.apnic.net/pub/stats/apnic/delegated-apnic-latest
- ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow