]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/validate-recursor.hh
rec: ensure correct service user on debian
[thirdparty/pdns.git] / pdns / validate-recursor.hh
index bf99d7de0e2238e4c5125c5062aabe0e53330bb6..88ed15e66c0832c04bfeeb73bbc8a331586e7d73 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 #pragma once
-#include "dnsparser.hh"
 #include "namespaces.hh"
 #include "validate.hh"
 #include "logger.hh"
 
-vState validateRecords(const vector<DNSRecord>& recs);
-
 /* Off: 3.x behaviour, we do no DNSSEC, no EDNS
    ProcessNoValidate: we gather DNSSEC records on all queries, but we will never validate
    Process: we gather DNSSEC records on all queries, if you do ad=1, we'll validate for you (unless you set cd=1)
@@ -40,3 +37,5 @@ 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);