UeberBackend *B=dynamic_cast<UeberBackend *>(P.getBackend()); // copy of the same UeberBackend
DNSSECKeeper dk (B); // reuse our UeberBackend copy for DNSSECKeeper
-
if(!B->getDomainInfo(domain, di) || !di.backend) { // di.backend and B are mostly identical
L<<Logger::Error<<"Can't determine backend for domain '"<<domain<<"'"<<endl;
return;
}
}
-
vector<string> localaddr;
ComboAddress laddr;
if(B->getDomainMetadata(domain, "AXFR-SOURCE", localaddr) && !localaddr.empty()) {
laddr.sin4.sin_family = 0;
}
-
bool hadDnssecZone = false;
bool hadPresigned = false;
bool hadNSEC3 = false;
}
}
-
bool isDnssecZone = false;
bool isPresigned = false;
bool isNSEC3 = false;
{
if(d_doRings) {
if(!d_rings.count(name))
- throw runtime_error("Attempting to account to non-existent ring");
+ throw runtime_error("Attempting to account to non-existent ring '"+std::string(name)+"'");
d_rings[name].account(item);
}
{
if(d_doRings) {
if(!d_comborings.count(name))
- throw runtime_error("Attempting to account to non-existent comboring");
+ throw runtime_error("Attempting to account to non-existent comboring '"+std::string(name)+"'");
d_comborings[name].account(item);
}
}