1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

DNS of webpage visitors

Discussion in 'Plesk for Linux - 8.x and Older' started by altexis, Jan 20, 2006.

  1. altexis

    altexis Guest

    0
     
    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?
     
  2. AlleyKat

    AlleyKat Guest

    0
     
    in etc/httpd/conf/httpd.conf find
    Code:
    HostnameLookups Off
     
    and change to On. Note that this lowers speed somewhat (extra lookup).
     
  3. altexis

    altexis Guest

    0
     
    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?
     
  4. AlleyKat

    AlleyKat Guest

    0
     
    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. :)
     
Loading...