Permalink
Browse files

no rectify for presigned zones

  • Loading branch information...
1 parent ac4a2f1 commit 9bd211e1d13e1840d2a699d376b131e4db9ef3eb @mind04 mind04 committed with mind04 Jul 4, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 pdns/pdnssec.cc
View
@@ -165,6 +165,11 @@ void loadMainConfig(const std::string& configdir)
// I think this has to do with interlocking transactions between B and DK, but unsure.
bool rectifyZone(DNSSECKeeper& dk, const std::string& zone)
{
+ if(dk.isPresigned(zone)){
+ cerr<<"Rectify presigned zone '"<<zone<<"' is not allowed/necessary."<<endl;
+ return false;
+ }
+
UeberBackend B("default");
bool doTransaction=true; // but see above
SOAData sd;

0 comments on commit 9bd211e

Please sign in to comment.