* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#pragma once
-#include "dnsparser.hh"
#include "namespaces.hh"
#include "validate.hh"
-
-vState validateRecords(const vector<DNSRecord>& recs);
+#include "logger.hh"
/* Off: 3.x behaviour, we do no DNSSEC, no EDNS
ProcessNoValidate: we gather DNSSEC records on all queries, but we will never validate
enum class DNSSECMode { Off, Process, ProcessNoValidate, ValidateForLog, ValidateAll };
extern DNSSECMode g_dnssecmode;
extern bool g_dnssecLogBogus;
+
+bool checkDNSSECDisabled();
+bool warnIfDNSSECDisabled(const string& msg);
+vState increaseDNSSECStateCounter(const vState& state);
+bool updateTrustAnchorsFromFile(const std::string &fname, map<DNSName, dsmap_t> &dsAnchors);