[PATCH] s4-dns: dlz-bind9: Continue lookup if error on multivalued record types

Amitay Isaacs amitay at gmail.com
Thu Jul 10 03:11:15 MDT 2014

On Thu, Jul 10, 2014 at 1:14 AM, Samuel Cabrero <scabrero at zentyal.com>

> Hi,
> we have a report about bind dlz not being able to load a zone which have a
> WINS record type defined. Having a look to the code, the lookup abort on
> multivalued record types as soon as it finds a not supported record type,
> so when the dlz is loading the zone and query the zone root (@), if the
> WINS record is returned by ldb search before the SOA record bind complains
> with "zone xxxxxx.xxx/NONE: has 0 SOA records" and does not start.
> This patch makes the lookup operation to continue on errors, so
> problematic records are logged and skipped.

The patch does not look complete.  If the zone only has WINS type record
and no SOA record, then the code will return success when it falls through
the loop.


More information about the samba-technical mailing list