[Samba] switch from bind9_dlz to bind9 flate file

lp101 lingpanda101 at gmail.com
Fri Jan 17 09:20:59 MST 2014


The below email is from Günter in another topic(DomainDnsZone Replication Shows 200,000 Objects).
Does this help?


"FYI - the samba ISC bind DLZ plugin does a different approach.
When all child DNS entry are gone, it_leaves_  the directory storage as:
(sambatool dns query .... output)

Name=mytest, Records=0, Children=0

So the record is_not_  deleted - more or less "left as an unused entry".
Those entries can be re-used later, but can also accumulate when not
being re-used.

As i've seen with a windows7 client during normal operation, it deletes
its A and AAAA records and then registers one/both again in some interval
of about 5 to 10 minutes! (Could be due i was running the MS MMC DNS plugin).

This behavior is atm handled fine with the DLZ driver - but is somewhat FATAL
for the internal DNS server: It creates LOTS of deleted dns entries!

So i've reverted the patch
      8b24c43b382740106474e26dec59e1419ba77306
which was deleting the whole dns entry.

After this revert the internal dns server behaves the same as the DLZ driver and
leaves those
    Name=mytest, Records=0, Children=0
records around - BUT THEN the current implementation is NOT able to add
new incoming records!
https://bugzilla.samba.org/show_bug.cgi?id=9559

Atm i did a very first simple patch to the internal dns, which allows
to add new entries in that
   Name=mytest, Records=0, Children=0
formerly failing state.

Now the internal dns_seems_  to behave similar to the DLZ driver, but
more investigation is needed because dns entries can be "static" or
"time stamped" ....

So i'm still looking at all related infos ....

Btw - has someone seen "strange" behavior in this area when the
DLZ driver is used?

Cheers, Günter"

On 1/17/2014 11:11 AM, Rowland Penny wrote:
> On 17/01/14 15:54, L.P.H. van Belle wrote:
>> Im having problems with the tombstone lifetime stamp,
>> and i want to test if it works ok with the flat file setup.
>> im getting so much : samba b9_putrr: unhandled record type 0 messages.
>> about 1miljoen now.. and thats just today..
>>
>> of if anyone knows a trick how to remove the tombstone lifetime stamp 
>> from records in a windows dns.
>> i alread disabled the scavaging but for now no go..
>>
>> Thanx in advance.
>>
>> Louis
>>
>>
>>
>>> -----Oorspronkelijk bericht-----
>>> Van: Rowland Penny [mailto:rowlandpenny at googlemail.com]
>>> Verzonden: vrijdag 17 januari 2014 16:45
>>> Aan: L.P.H. van Belle; samba at lists.samba.org
>>> Onderwerp: Re: [Samba] switch from bind9_dlz to bind9 flate file
>>>
>>> On 17/01/14 15:37, L.P.H. van Belle wrote:
>>>> hai,
>>>>    Im looking if its posible to switch from bind_dlz to bind flate 
>>>> file.
>>>> are there any thing to look after?
>>>>          Best regards,
>>>>    louis
>>> Is there any reason why you want to switch ?
>>>
>>> Rowland
>>>
>>>
> Cannot say I am getting this and I am using bind_dlz, but then again I 
> am also using dhcp to update the zones.
>
> Rowland



More information about the samba mailing list