]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Document dq.data (from @Habbie) (#4648)
authorElad Efrat <elad@users.noreply.github.com>
Fri, 28 Oct 2016 17:04:46 +0000 (20:04 +0300)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 28 Oct 2016 17:04:46 +0000 (19:04 +0200)
Document dq.data (from @Habbie)

docs/markdown/recursor/scripting.md

index 1956174013e9ab176acfa42be832743f810e2b3b..eebb53cf1b74b20714f83ee5d1320f3c71918e23 100644 (file)
@@ -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: