• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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