Is there a way to figure out the country name just by looking at an IP address? I mean, do countries have specific ranges of IP addresses? For example, Australia can have IP
It's not that easy. IP adresses are not assigned to countries as such, but to companies and organizations.
But maybe this can help you out: http://www.maxmind.com/app/geolitecountry