]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Document gettag returning optional deviceId
authorNeil Cook <neil.cook@noware.co.uk>
Thu, 24 Aug 2017 09:12:47 +0000 (10:12 +0100)
committerNeil Cook <neil.cook@noware.co.uk>
Thu, 24 Aug 2017 09:12:47 +0000 (10:12 +0100)
pdns/recursordist/docs/lua-scripting/hooks.rst

index 80162904409f82d0433473ada85e4e5021d9bf50..34b0ce1cda4f8dfe6e32c2ceb8b96e050c827c19 100644 (file)
@@ -68,7 +68,7 @@ Interception Functions
 
     .. versionadded:: 4.1.0
 
-        It can also return a table whose keys and values are strings to fill the :attr:`DNSQuestion.data` table, as well as a ``requestorId`` value to fill the :attr:`DNSQuestion.requestorId` field.
+        It can also return a table whose keys and values are strings to fill the :attr:`DNSQuestion.data` table, as well as a ``requestorId`` value to fill the :attr:`DNSQuestion.requestorId` field and a ``deviceId`` value to fill the :attr:`DNSQuestion.deviceId` field.
 
     The tagged packetcache can e.g. be used to answer queries from cache that have e.g. been filtered for certain IPs (this logic should be implemented in :func:`gettag`).
     This ensure that queries are answered quickly compared to setting :attr:`dq.variable <DNSQuestion.variable>` to true.