On Sun, 5 Aug 2001, Aengus wrote:

> "Ian Sealy" <[EMAIL PROTECTED]> wrote
> 
> > Is it possible to apply different DNS commands to different LOGFILEs?
> > I rotate my logs on a monthly basis and when they're rotated Apache's
> > logresolve is used to resolve numerical IP addresses. Analog is used
> > to produce reports on the rotated logs (that have already been parsed
> > with logresolve) and the current log (which just has numerical IP
> > addresses). I'd like Analog to run with DNS WRITE for the current log,
> > but with DNS NONE for the rotated logs (since the only numerical IP
> > addresses they contain are ones that won't resolve to a name).
> >
> > Is there any way of doing what I want?
> 
> I don't think you can do this directly in Analog

Actually, you can. If you set the DNSBADHOURS and DNSGOODHOURS high enough,
then IP addresses will never be looked up a second time. Of course, you will
accumulate a large file of lookups.

-- 
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to