From: Pieter Lexis Date: Tue, 5 Jul 2016 12:30:10 +0000 (+0200) Subject: Document the fact that reload-lua-config blocks X-Git-Tag: rec-4.0.0~13^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58f327402ab84349a9e526a23f7fce1fb633d54e;p=pdns Document the fact that reload-lua-config blocks --- diff --git a/docs/manpages/rec_control.1.md b/docs/manpages/rec_control.1.md index b31fef1db..7b7512c74 100644 --- a/docs/manpages/rec_control.1.md +++ b/docs/manpages/rec_control.1.md @@ -117,7 +117,8 @@ reload-lua-config [*FILENAME*] : (Re)loads Lua configuration *FILENAME*. If *FILENAME* is empty, attempt to reload the currently loaded file. Note that *FILENAME* will be fully executed, any settings changed at runtime that are not modified in this file, will - still be active. + still be active. Reloading RPZ, especially by AXFR, can take some time; during + which the recursor will not answer questions. reload-zones : Reload authoritative and forward zones. Retains current configuration diff --git a/docs/markdown/recursor/running.md b/docs/markdown/recursor/running.md index d7dd8d019..e56c3d68b 100644 --- a/docs/markdown/recursor/running.md +++ b/docs/markdown/recursor/running.md @@ -55,6 +55,11 @@ Reload access control lists. (Re-)Load Lua script. Note that loading a script fully replaces the one currently loaded. +### `reload-lua-config [filename]` +(Re-)Load the Lua configuration file. +Note that *FILENAME* will be fully executed, any settings changed at runtime that are not modified in this file, will still be active. +Also note that the process will block (not answering queries) when reloading, this might take a long time when an RPZ has to be transferred. + ### `reload-zones` Reload data about all authoritative and forward zones. The configuration file is also scanned to see if the **auth-domain**, **forward-domain** and **export-etc-hosts** statements have changed, and if so, these changes are incorporated.