Commit 83904ae5 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac534] updated comments about NS check in cutCallback().

parent 4265faed
......@@ -230,10 +230,12 @@ struct MemoryZone::MemoryZoneImpl {
const Domain::const_iterator foundNS(node.getData()->find(
if (foundNS != node.getData()->end()) {
// BIND 9 checks if this node is not the origin. But it cannot
// be the origin because we don't enable the callback at the
// origin node (see MemoryZoneImpl::add()). Or should we do a
// double check for it?
// BIND 9 checks if this node is not the origin. That's probably
// because it can support multiple versions for dynamic updates
// and IXFR, and it's possible that the callback is called at
// the apex and the DNAME doesn't exist for a particular version.
// It cannot happen for us (at least for now), so we don't do
// that check.
state->zonecut_node_ = &node;
state->rrset_ = foundNS->second;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment