]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Docs
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 1 Oct 2021 12:18:23 +0000 (14:18 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 4 Oct 2021 10:46:07 +0000 (12:46 +0200)
.github/actions/spell-check/expect.txt
pdns/pdns_recursor.cc
pdns/recursordist/docs/lua-config/index.rst
pdns/recursordist/rec-zonetocache.hh

index 78213ce73e616443bbd02773ce91232cd3f0a432..899fe50e90f5c7ba239b748d9c39dc47cf1dce37 100644 (file)
@@ -1913,6 +1913,7 @@ zonetransfer
 Zonneveld
 zsk
 zskroll
+ztc
 Zumstrull
 Zwane
 zzyzz
index 0011b55180e69ffffbb97dae6107ba90d905b2b0..280f93674442b25d9aee32354543d45021f38473 100644 (file)
@@ -5299,6 +5299,7 @@ static int serviceMain(int argc, char*argv[])
 
   startLuaConfigDelayedThreads(delayedLuaThreads, g_luaconfs.getCopy().generation);
   delayedLuaThreads.rpzPrimaryThreads.clear(); // no longer needed
+  delayedLuaThreads.ztcConfigs.clear(); // no longer needed
 
   makeThreadPipes();
 
index ab295007831635d4ac09056bf2c5a563a8478643..44d04d16171145ee71254970c8f43ac4db6952e3 100644 (file)
@@ -1,5 +1,5 @@
-Lua Configuration: Trustanchors, Query Logging, RPZs and Sortlist
-=================================================================
+Lua Configuration: Trustanchors, Query Logging, RPZs, Sortlist and Zone to Cache
+================================================================================
 
 Since version 4.0.0, the PowerDNS Recursor supports additional configuration options that have to be loaded through :ref:`setting-lua-config-file`.
 
@@ -9,5 +9,6 @@ Since version 4.0.0, the PowerDNS Recursor supports additional configuration opt
     protobuf
     rpz
     sortlist
+    ztc
 
 In addition, :func:`pdnslog` together with ``pdns.loglevels`` is also supported in the Lua configuration file.
index 81e86cf2c22ed2d857965284183ec66ea783045e..715ca7ecb67ae00b7daa60f11aa02cd020bf21e1 100644 (file)
@@ -39,7 +39,7 @@ public:
     size_t d_maxReceivedBytes{0}; // Maximum size
     time_t d_retryOnError{60}; // Retry on error
     time_t d_refreshPeriod{0}; // Take from SOA by default
-    uint32_t d_timeout{30}; // timeout in seconds
+    uint32_t d_timeout{20}; // timeout in seconds
   };
   static void ZoneToCache(Config config, uint64_t gen);
 };