How do I know which RIR server to query for an IP address?

1.2k views Asked by At

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..

2

There are 2 answers

1
glglgl On BEST ANSWER

This is for IPv4, and this for IPv6.

0
Paul B. On

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).