|
 |
asp_web_howto thread: Country based domain IP
Message #1 by "madan lal koli" <madan@i...> on Fri, 8 Dec 2000 04:14:45 -0000
|
|
i hae seen new altavista site, when u click on altavista.com its detect
your ip and then its showing that you are coming from which country
because country Gateway are standard so its detect the first three number
of the request then show a pop window and the country map
can anybody explain me in detail how its work i need it urgent
Message #2 by "Ken Schaefer" <ken@a...> on Fri, 8 Dec 2000 19:43:49 +1100
|
|
Which altavista.com site are you looking at? I can't see anything like this
when I view www.altavista.com.
That said, IP addresses are *not* distributed by geographical region
(country or otherwise). I know of only two ways where you can get an the
location of the IP address, and even then it's not gaurenteed to be
accurate:
a) You can do a reverse DNS lookup on the IP and see if it has a DNS name,
eg if you do a reverse lookup on my IP address, you will see it resolves to
test.careers.unsw.edu.au, which would lead you to assume that I'm in
Australia - actually it merely means that my IP has an entry in the DNS
underneath the .au domain, but 90% of the time they should correspond.
b) Look up the owner of the netblock by querying one of the registries that
hands out IP addresses. Again, this is not accurate, just because the Uni of
New South Wales, Australia, has the netblock 129.94.xxx.xxx does not mean
that I'm in Australia physically.
Cheers
Ken
----- Original Message -----
From: "madan lal koli" <madan@i...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Friday, December 08, 2000 3:14 PM
Subject: [asp_web_howto] Country based domain IP
> i hae seen new altavista site, when u click on altavista.com its detect
> your ip and then its showing that you are coming from which country
> because country Gateway are standard so its detect the first three number
> of the request then show a pop window and the country map
> can anybody explain me in detail how its work i need it urgent
>
Message #3 by "Harsh Nandu" <harsh_stgil@h...> on Fri, 08 Dec 2000 10:25:42 -0000
|
|
Hi,
You can use some third party components like ASPDNS from ServerObject to
resolve the IP to DNS.You have to figure out the later part wherin you can
relate the DNS names to the countries.
I think you gotto build this DNS database & the related countries.
Regds,
Harsh
>From: "madan lal koli" <madan@i...>
>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>
>To: "ASP Web HowTo" <asp_web_howto@p...>
>Subject: [asp_web_howto] Country based domain IP
>Date: Fri, 8 Dec 2000 04:14:45 -0000
>
>i hae seen new altavista site, when u click on altavista.com its detect
>your ip and then its showing that you are coming from which country
>because country Gateway are standard so its detect the first three number
>of the request then show a pop window and the country map
>can anybody explain me in detail how its work i need it urgent
>
|
|
 |