startLuaConfigDelayedThreads(delayedLuaThreads, g_luaconfs.getCopy().generation);
delayedLuaThreads.rpzPrimaryThreads.clear(); // no longer needed
+ delayedLuaThreads.ztcConfigs.clear(); // no longer needed
makeThreadPipes();
-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`.
protobuf
rpz
sortlist
+ ztc
In addition, :func:`pdnslog` together with ``pdns.loglevels`` is also supported in the Lua configuration file.
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);
};