[rbldnsd] Re: regex in zone file
Michael Tokarev
rbldnsd@corpit.ru
Tue, 02 Sep 2003 18:34:51 +0400
Joerg Backschues wrote:
> Hello Michael Tokarev!
>=20
> Is it possible to integrate regular expressions in rbldnsd=B4s zone fil=
e,=20
> so that I can use an expression like this in the zone file:=20
> host[0-9][0-9].example.com?
I tried this (see last 3 items in TODO). This stuff is surprizingly
difficult to get right. All regexps (in whatever form) should be
checked *fast*, and this is the problem. I do know folks want to
list huge amount of expressions in something like dnset dataset,
but rbldnsd must not perform any slow operations, it must reply
quickly. Yes, it will be very nice to have such stuff handy, I
for one miss it all the time. But for now, it is not here, for
this very reason. It should be fast and memory-efficient. Ugh.
/mjt