From: Peter van Dijk Date: Mon, 20 Mar 2017 14:24:01 +0000 (+0100) Subject: update dq.data docs X-Git-Tag: rec-4.1.0-alpha1~191^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=284bf3069d81478aa08f29f2be4851cb1f8a918c;p=pdns update dq.data docs --- diff --git a/docs/markdown/recursor/scripting.md b/docs/markdown/recursor/scripting.md index 26857b568..a82fdc42f 100644 --- a/docs/markdown/recursor/scripting.md +++ b/docs/markdown/recursor/scripting.md @@ -99,7 +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 `prerpz` 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`. +* data - a Lua object reference that is persistent throughout the lifetime of the `dq` object for a single query. It can be used to store custom data. Most scripts initialise this to an empty table early on so they can store multiple items. It also supports the following methods: