From: Elad Efrat Date: Fri, 28 Oct 2016 17:04:46 +0000 (+0300) Subject: Document dq.data (from @Habbie) (#4648) X-Git-Tag: dnsdist-1.1.0-beta2~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=679281862e6931b06783ff1f281cb0f09c3e9b13;p=thirdparty%2Fpdns.git Document dq.data (from @Habbie) (#4648) Document dq.data (from @Habbie) --- diff --git a/docs/markdown/recursor/scripting.md b/docs/markdown/recursor/scripting.md index 1956174013..eebb53cf1b 100644 --- a/docs/markdown/recursor/scripting.md +++ b/docs/markdown/recursor/scripting.md @@ -99,6 +99,7 @@ The DNSQuestion object contains at least the following fields: * policyCustom: The CNAME content for the `pdns.policyactions.Custom` response, a string * policyTTL: The TTL in seconds for the `pdns.policyactions.Custom` response * wantsRPZ - A boolean that indicates the use of the Policy Engine, can be set to `false` in `preresolve` to disable RPZ for this query +* data - a table that is persistent throughout the lifetime of the `dq` object and can be used to store custom data. All keys and values in the table must be of type `string`. It also supports the following methods: