Permalink
Browse files

don't addSuckRequest after supermaster zone creation to avoid simulta…

…neous AXFR for the new zone
  • Loading branch information...
1 parent 924825d commit 9245fd9fd47b2eb7a02b9076f3eedc15083883ca @mind04 mind04 committed with mind04 Dec 27, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 pdns/packethandler.cc
@@ -793,8 +793,7 @@ int PacketHandler::trySuperMasterSynchronous(DNSPacket *p)
L<<Logger::Error<<"Database error trying to create "<<p->qdomain<<" for potential supermaster "<<p->getRemote()<<": "<<ae.reason<<endl;
return RCode::ServFail;
}
- Communicator.addSuckRequest(p->qdomain, p->getRemote());
- L<<Logger::Warning<<"Created new slave zone '"<<p->qdomain<<"' from supermaster "<<p->getRemote()<<", queued AXFR"<<endl;
+ L<<Logger::Warning<<"Created new slave zone '"<<p->qdomain<<"' from supermaster "<<p->getRemote()<<endl;
return RCode::NoError;
}

0 comments on commit 9245fd9

Please sign in to comment.