[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] What is /var/log/analog.dns? Please.



Debbie Doerrlamm <wkdwich@xxxxxxxxxxxx> wrote:
> >> Can anyone tell me what /var/log/analog.dns is?
>
> I don't seem to have this at all.. Analog was never able to resolve IP's to
> domain names and neither can Webalizer.. can someone explain the process
> this takes..

cat /etc/httpd/conf/httpd.conf | grep -n HostnameLookups

I get:

53:# HostnameLookups: Log the names of clients or just their IP numbers
58:HostnameLookups on

You probably have:

58:HostnameLookups off

Change "off" to "on" and you'll be in business.  The Webalizer output will no longer
be a line after line of IP addresses b/c your log files will have host names in them
instead of IPs.  Woo-hoo!

And don't forget to restart apache.  /etc/rc.d/init.d/httpd restart on the RaQ3,
/etc/rc.d/init.d/httpd.init restart on the RaQ2, no clue on the RaQ4.  If Cobalt
gives me one I'll be sure to answer lots of questions about it.  Mr. Cobalt, are you
listening?  <smile>

Steven Werby {steven-lists@xxxxxxxxxxxx}