You might also want to look at the webalizer source code. It generates country graphs as part of its output, although at a glance it looks like it simply maps against the information found in the IANA CCTLD list. A while back I thought it would be a straightforward and useful thing to put up a web database that tracks the country of origin for various IP blocks, e.g. a PTR address that resolves to .kc.rr.com is a clue that the machine is located in the KC metro area. Anyone know if something like this has been implemented? On Tue, 10 Oct 2000, Duston, Hal wrote: > Bradley, > > Well the one thing you could check would be the top > level domain. > http://www.iana.org/cctld/cctld-whois.htm > Remember that these can not be taken as gospel. > > You could also take the ip address to the three > regional nic's to see if that gives you any information. > http://www.arin.net/whois/index.html American Registry > http://www.ripe.net/cgi-bin/whois Registry Europe > http://www.apnic.net/apnic-bin/whois.pl Asia Pacific > > More than that, would be rather difficult. > > Hal Duston > H:hald@sound.net > W:hdusto01@sprintspectrum.com > > Bradley Miller [bradmiller@dslonramp.com] wrote > > > > Is there any way to determine a contry origin for a > > web surfer? I'm just curious here -- if anyone has > > suggestions, please share with me. > > > > Thanks! > > > > -- Bradley Miller > > >