*This message was transferred with a trial version of CommuniGate(tm) Pro*

Alle 10.32 Tuesday 29/08/2000 +0200, Morten Helgaland ha mandato a Marco 
questo messaggio:


 > Jim Sander suggests:
>>   Here's another idea that may be of some help also- simply "Seed" your
>>DNS cache with the text you want for those IP addresses. Yes, it's 144
>>entries, but they are trivial to generate with say perl
>
>I don't have a DNS file, as I mentioned in an earlier posting, it's not 
>interesting to me. Maybe I have to build one...

You can even use a spreadsheet like Excel or Quattro Pro to generate 
series: easier, if you aren't in programming.
If you need I can mail you privately an Excel sheet to do the job.


>>   I don't know for sure, but I suspect my way would be significantly
>>faster, since trying a match for a big regexp against *every* log line
>>would take longer than a simple hash index into the DNS Cache. That may or
>>may not be an important factor for you to consider.
>
>It would probably be faster, as the regexps above are simple compared to a 
>few others I had to write. But again, sounds like a good idea.

Both methods, if used on huge logs with a lot of external references, 
requires very big files.
I don't know if it's faster to open a 20 Mb DNS file or to use a thousand 
of regexps. I think it's very "platform specific": maybe a Linux machine is 
faster than a NT box on regexps.

Bye!

Marco Bernardini


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to