Open muneermuhammed opened 7 years ago
I can second this issue, i cross-referenced some IPs from my logs with both the data returned by the whois for the assigned net-block (which returns a country) with the output from this library and an huge chunk of them are a mismatch between the output from the tool and the correct country.
I have been using this for the past six months and I found some issues returning the country. I got a request from the IP "165.225.104.84" and I got the country code "US" but that was wrong. The request was actually from INDIA. This has happened before but I did not take it seriously. It would be great if you look at this issue. Thanks.