• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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