[rbldnsd] YAPA (Yet Another Pre-Announce): glue records support

Michael Tokarev mjt at tls.msk.ru
Wed Apr 27 19:10:49 MSD 2005


There was a bug in new glue code, discovered and fixed right
after I sent the (pre)announce: rbldnsd generated A records
for the wrong NS.  I updated the version in rbldnsd/pre/
together with the patch.  The change was trivial:

rbldnsd_packet.c:update_zone_ns():
-          cpos = dnc_add(&compr, cpos, nsdna[i]);
+          cpos = dnc_add(&compr, cpos, zone->z_nsdna[i]);

It's an over-optimisation, I again forgot the two golden
rules, which are:

  1. Don't optimize.
  2. (For experts only) Don't do it yet.

My statement about non-production status applies... ;)
I'm sorry for the noise.

/mjt

Michael Tokarev wrote:
> I uploaded yet another pre-release of rbldnsd, with number
> 0.994.93 (again, it is *pre*-release, not intended for
> production usage), available at
> 
>  http://www.corpit.ru/mjt/rbldnsd/pre/
> 
> This one contains one change compared to previous (pre)release:
> rbldnsd now supports glue records for nameservers, that is,
> if the NS records are inside any zone serviced by the same
> rbldnsd instance.  So now one should be able to specify NS
> records in the same zone, eg. nameservers for bl.example.com
> can be a.bl.example.com, ns1.bl.example.com and so on.
> 
> This very change -- glue records support (without changes in
> the manpage - i just removed some text from the manpage which
> isn't relevant anymore) can be found in .diff format at
> 
>  http://www.corpit.ru/mjt/rbldnsd/pre/rbldnsd-0.993-gluerecs.diff
> 
> If everything will go well, I plan to release real 0.994
> this week.  Complete list of changes is at
> 
>  http://www.corpit.ru/mjt/rbldnsd/NEWS


More information about the rbldnsd mailing list