httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Webalizer - lots of unresolved/unknown countries
Date Tue, 27 May 2003 10:42:37 GMT
>-----Original Message-----
>From: Robert []
>I have recently set up (with much difficulty) Webalizer with 
>DNS lookups to
>list countries.  There seem to be a lot of users from 
>countries (99% approx).  Where do these come from and is there 
>some way that they could either be resolved or ignored?

If you get any countries resolved at all, then DNS must be working,

These programs work by doing a reverse DNS lookup of the IP address of
each request in the logs. If the domain-name returned by reverse DNS
happens to contain a country code, then you can assign a country to the
request. However, there are so many things that can go wrong with this
that it is practically a waste of time (at any rate the data are
meaningless). This is what you've got to fight through:

1) Many clients, especially in large organisations, go through a proxy.
The proxy probably doesn't even have a domain name and does all its
business using its IP address - so you don't even get a reverse DNS.
2) DNS is not obliged not support reverse-DNS lookup so you often get no
domain-name at all. 
3) The majority of sites nowadays are .com (around 70%?) which tells you
nothing about countries (then there's .org, .net, .gov, .biz etc.). 
4) If you do somehow get a country code, there's no guarantee that it
has anything to do with the client. I can live in England, register a
.ch domain and serve it from a machine in the USA. What does the .ch
tell you? 

You might be under the misapprehension that IP addresses are somehow
linked to countries (like how you can tell that a phone number beginning
33 is in France). They're not. Any public IP can be assigned to any FQDN
and there is no connection with nationality in the numeric content of
the IP.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.  

>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message