How do I find the Country or Location of an IP address

I want to know the location of an IP address

For basic geo-spacial detail, try a simple dns query ...
ip.address.zz.countries.nerd.dk and the resulting alias (less the zz) tells you where the domain is

e.g.
nslookup 80.82.140.1.zz.countries.nerd.dk
Non-authoritative answer:
Name: zzuk.countries.nerd.dk
= UK

For advanced geo data you will need to use a programming language tool like
Perl IP::Country
or something that parses a geo-database like:
Maxmind Geo IP Country CSV

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How do I use SSI (server Side Includes) ?

Web pages that use SSI (server side includes) by convention should be named with the .shtml file...

What types of scripting do you support ? What scripts can I use ?

Astutium provides a comprehensive ramge of hosting services, offering every kind of operating...

What are the Web-Safe colours ?

Some years ago, when computers supported max 256 different colors, a list of 216 "Web Safe...

Cannot publish site with Frontpage Extensions, front page reporting incorrect password

Problem: I can no longer publish a site with Frontpage Extensions it says I have the wrong...

OSCommerce FAQ: Warning: I am able to write to the configuration file configure.php

OSCommerce FAQ: Warning: I am able to write to the configuration file Sometimes on a new...

Powered by WHMCompleteSolution