Vicky Shrestha
2008-Nov-29 21:19 UTC
[nsd-users] incomplete AXFR and ixfr.db overwritten by nsdc patch
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, It seems if a zone AXFR is incomplete when nsdc patch runs, then it will discard and delete the partial entries in ixfr.db. With a big zone and limited bandwidth it seems nsdc patch can only be run after AXFR is complete. Is this expected ? I have tested this with NSD version 3.1.1 on Linux 32bit and 64bit. Regards, Vicky Shrestha -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iQEcBAEBAgAGBQJJMbHLAAoJEGi4SIJCvhMLRxAIAK/6LpG/O89Tf/NSoHzOAUR2 QQm8k2a4SNs+bLvZT/Pyyi3sIezpjFGAi5xwFwcsEONbI2elH9qEfqhidAIxaUTa eIsoACL4+E8CUJ6skMVdd1UtKOFv2roS4JTfPKWMkeYhILIRS27xoLO166uP8kst UsJYhs0jvJCBRNmjvuVWBXinaG/6UuydZl9kXq1NeqpLmcY0rpu9WJcPaWzafOjJ J9tvj3mDiDU4DGm7mCtCeeU+Av3C8tpYU9yYQkl/70yuRhoOo6S4V6B6bX2cR1Qg Koe+Tz4soCRP14SIDxrvcqURU/TdYt4Cr1r/yj1lYEAFWC0+r+w2NyHcHpt0dHQ=UdXp -----END PGP SIGNATURE-----
Matthijs Mekking
2008-Dec-01 11:27 UTC
[nsd-users] incomplete AXFR and ixfr.db overwritten by nsdc patch
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Vicky, I believe this is expected: A zone transfer (AXFR of IXFR) is stored in parts into the ixfr.db. When a zone transfer is fully transmitted, the parts are followed by a 'commit'. If such a commit is not present while patch is running, the previous parts are discarded. NSD will see that an update failed and starts a new zone transfer request to restore the latest update. So it is expected, but I can see that in your situation it can be problematic. Maybe a script can help you out, that checks if patching is 'wise'? For example, by checking log messages or entries with nsdc-patch - -l to see if the zone transfer was committed. If you need some special property that needs to be printed, I can add a log entry for that. Regards, Matthijs Mekking Vicky Shrestha wrote:> Hi, > > It seems if a zone AXFR is incomplete when nsdc patch runs, then it will > discard and delete the partial entries in ixfr.db. With a big zone and > limited bandwidth it seems nsdc patch can only be run after AXFR is > complete. Is this expected ? > > I have tested this with NSD version 3.1.1 on Linux 32bit and 64bit. > > Regards, > > > Vicky Shrestha > > >_______________________________________________ nsd-users mailing list nsd-users at NLnetLabs.nl http://open.nlnetlabs.nl/mailman/listinfo/nsd-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJM8ovIXqNzxRs6egRAtRkAJ9sL5GBL6XpzV62AR+ThPfwJiDqWACdFVJ6 SjP2lS7QoFYmJVOPhY3IXx0=2xNU -----END PGP SIGNATURE-----