be done. Via doCacheCheck() this can lead to a call to computeZoneCuts()
which might/does not work properly on only cached records, so always
make sure it can go out if needed. Should fix #8642.
return;
}
+ const bool oldCacheOnly = setCacheOnly(false);
+
dsmap_t ds;
vState cutState = getDSRecords(end, ds, false, depth);
LOG(d_prefix<<": setting cut state for "<<end<<" to "<<vStates[cutState]<<endl);
d_cutStates[end] = cutState;
if (!shouldValidate()) {
+ setCacheOnly(oldCacheOnly);
return;
}
LOG(" - "<<cut.first<<": "<<vStates[cut.second]<<endl);
}
}
+ setCacheOnly(oldCacheOnly);
}
vState SyncRes::validateDNSKeys(const DNSName& zone, const std::vector<DNSRecord>& dnskeys, const std::vector<std::shared_ptr<RRSIGRecordContent> >& signatures, unsigned int depth)