]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/common_startup.cc
Merge pull request #8793 from rgacogne/auth-reserve-caches
[thirdparty/pdns.git] / pdns / common_startup.cc
index 8da7f9c10c558c0f6812733f861c5483fdb36e32..3b0e93b0bd83c75d19db36e60f09ca3b50fa53a6 100644 (file)
@@ -546,6 +546,7 @@ void mainthread()
    PC.setTTL(::arg().asNum("cache-ttl"));
    PC.setMaxEntries(::arg().asNum("max-packet-cache-entries"));
    QC.setMaxEntries(::arg().asNum("max-cache-entries"));
+   DNSSECKeeper::setMaxEntries(::arg().asNum("max-cache-entries"));
 
    if (!PC.enabled() && ::arg().mustDo("log-dns-queries")) {
      g_log<<Logger::Warning<<"Packet cache disabled, logging queries without HIT/MISS"<<endl;