Skip to content

Commit

Permalink
no rectify for presigned zones
Browse files Browse the repository at this point in the history
  • Loading branch information
mind04 committed Jul 4, 2013
1 parent ac4a2f1 commit 9bd211e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pdns/pdnssec.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 9bd211e

Please sign in to comment.