return EXIT_SUCCESS;
}
-static bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = false) // NOLINT(readability-function-cognitive-complexity)
+static bool showZone(DNSSECKeeper& dnsseckeeper, const DNSName& zone, bool exportDS = false) // NOLINT(readability-function-cognitive-complexity)
{
UeberBackend B("default");
DomainInfo di;
}
}
- if(!dk.isSecuredZone(zone)) {
+ if(!dnsseckeeper.isSecuredZone(zone)) {
auto &outstream = (exportDS ? cerr : cout);
outstream << "Zone is not actively secured" << endl;
if (exportDS) {
NSEC3PARAMRecordContent ns3pr;
bool narrow = false;
- bool haveNSEC3=dk.getNSEC3PARAM(zone, &ns3pr, &narrow);
+ bool haveNSEC3=dnsseckeeper.getNSEC3PARAM(zone, &ns3pr, &narrow);
- DNSSECKeeper::keyset_t keyset=dk.getKeys(zone);
+ DNSSECKeeper::keyset_t keyset=dnsseckeeper.getKeys(zone);
if (!exportDS) {
std::vector<std::string> meta;
}
- if (dk.isPresigned(zone)) {
+ if (dnsseckeeper.isPresigned(zone)) {
if (!exportDS) {
cout <<"Zone is presigned"<<endl;
}