At 10:59 28.08.00 -0400, you wrote:
>HOSTALIAS REGEXP:^148\.122\.205\.(.|..|(1[01].)|(12[0-7])) Stavanger
>HOSTALIAS REGEXP:^148\.122\.205\.((12[89])|(13.)|(14[0-3])) Trondheim
>
>    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- including
>reasonable values of the time to keep them withing DNSGOODHOURS. Those
>programmers can still be usefull to you. :)

And they're actually back! (well, at least for a day or two...) Anyway, 
good idea, but there are _lots_ more than 144 entries, I can tell you that! 
I'm working for the countries largest ISP so the network is kinda big...

I'm not quite sure where to start on this, but I suspect

http://www.analog.cx/helpers/index.html

will be a good place? 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...

>   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.

------------------------------------------------------------------------
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