[bind10-dev] Memory manager and loadzone

Michal 'vorner' Vaner michal.vaner at nic.cz
Wed Aug 21 07:59:29 UTC 2013


Hello

I'm working on ticket #2858, which is yet another plumbing ticket for the memory
manager (see other mail in a moment). Aside from it still talking about the
generation IDs which were not designed how to do and the only proposal in the ML
was mine, which was not to use them, it also mentions the loadzone command.

So the question for this email is, do we really want the loadzone command in yet
another module? If my count is correct, it would be third module. So, if we
download new version of zone by DDNS or XfrIn, we need to send three commands
(from each of the downloading modules). When a users update the zone by hand,
they also need to run three different commands. That sounds like a bad approach.

Also, provided we finally have the mechanism for this to work correctly, adding
the command sounds like another step in the wrong direction and longer way to go
back later.

So my proposal is to omit this command from here, create a ticket for:
 • Creating a notification group „ZoneData“.
 • Create a notification „ZoneChanged“.
 • Modify XfrOut and Auth (is there another one) to subscribe to the group and
   run the code to load the zone on the ZoneChanged notification.
 • Modify XfrIn and DDNS to send the notification instead of calling the remote
   commands.
 • Add the notification handler to memory manager.

Is anybody against that?

With regards

-- 
When eating an elephant take one bite at a time.
		-- Gen. C. Abrams

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130821/78788432/attachment.bin>


More information about the bind10-dev mailing list