[nsd-users] Patch: multi-master-check

W.C.A. Wijngaards wouter at nlnetlabs.nl
Thu Aug 25 06:58:27 UTC 2016


Hi Manabu,

Applied the fix to the code repository, thank you.

Best regards, Wouter

On 24/08/16 10:53, manabu-s at iij.ad.jp wrote:
> Hi Wouter,
> 
> Thank you merge the patch.
> but I found a mistake that not tried full zone transfer for a expired zone.
> 
> this problem patch is below
> 
> xfrd.c
> -               if(zone->multi_master_first_master == zone->master_num && zone->round_num > 0) {
> +              if(zone->multi_master_first_master == zone->master_num && zone->round_num > 0 && zone->state != xfrd_zone_expired) {
> 
> 
> Best regards,
> Manabu Sonoda
> 
> 
> On 2016/08/05 20:24
> W.C.A. Wijngaards <wouter at nlnetlabs.nl> wrote:
> 
> Hi Manabu,
> 
> On 05/08/16 08:07, manabu-s at iij.ad.jp wrote:
>>>> Hi,
>>>>
>>>> I wrote a patch to try transfer from all masters when use multi
>>>> masters for slave zone.
> 
> Thank you for the patch!  I have incorporated it into the codebase.
> 
> Small changes I made to the patch: I removed the configure time
> option.  I kept the #else part in line 286 of the patch (about 1860 in
> xfrd.c) to keep non-multi-master-checks the same.
> 
> The 4.1.11 release is in RC stage, so this feature has to wait for a
> later software release.
> 
> Best regards, Wouter
> 
>>>>
>>>> https://gist.github.com/mimuret/e68b57561dc76214555c0d9718e9ce4d
>>>>
>>>> If master servers are not synchronise master zone, Sometime, slave
>>>> zone not updated max serial zone.
>>>>
>>>> For example: Slave:      serial 100 Master1: serial 200 Master2:
>>>> serial 300
>>>>
>>>> First time, slave tries transfer from Master1, Slave update serial
>>>> 200, and not try Master2.
>>>>
> 
>> _______________________________________________
>> nsd-users mailing list
>> nsd-users at NLnetLabs.nl
>> https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>>
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20160825/51fb85c9/attachment.bin>


More information about the nsd-users mailing list