• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

DNS of webpage visitors

A

altexis

Guest
hi all

I want to know if it is possible to find the DNS of the users visiting a webpage.

The apache logs (access_log) contain only the IP.. but is there a place that a DNS is also recorded?
 
in etc/httpd/conf/httpd.conf find
Code:
HostnameLookups Off
and change to On. Note that this lowers speed somewhat (extra lookup).
 
I see.. thanks AlleyKat.

So I suppose that web statistic programs (like Urchin) scan for changes in the modification dates of access_log and lookup the DNSs themselves? because my server has HostnameLookups Off

Or is there any other more direct way of apache to inform a program when someone visits a webpage?
 
I've no idea about how Webalizer would take this change - in AWstats I can have AWstats itself make the lookups, and thats the only place I want them looked up so thats what I use. Ofcourse it only moves the 'consumes time' problem to AWstats instead (still a better method IMHO), but my logs are easier to read with IP's I think.

So it all comes down to why you need it/what you need it for, you see. :)
 
Back
Top