]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/dnsdistdist/docs/reference/constants.rst
dnsdist: Add spoofRawAction() to craft answers from raw bytes
[thirdparty/pdns.git] / pdns / dnsdistdist / docs / reference / constants.rst
index 1ead1ec82e0a3235239443ece6da9dd2c9f50c9a..aba032b706af5eafc63d83ad647b6cdb1f7a4ba4 100644 (file)
@@ -102,6 +102,9 @@ These constants represent the section in the DNS Packet.
 DNSAction
 ---------
 
+.. versionchanged:: 1.5.0
+  ``DNSAction.SpoofRaw`` has been added.
+
 These constants represent an Action that can be returned from :func:`LuaAction` functions.
 
  * ``DNSAction.Allow``: let the query pass, skipping other rules
@@ -115,6 +118,7 @@ These constants represent an Action that can be returned from :func:`LuaAction`
  * ``DNSAction.Refused``: return a response with a Refused rcode
  * ``DNSAction.ServFail``: return a response with a ServFail rcode
  * ``DNSAction.Spoof``: spoof the response using the supplied IPv4 (A), IPv6 (AAAA) or string (CNAME) value
+ * ``DNSAction.SpoofRaw``: spoof the response using the supplied raw value as record data
  * ``DNSAction.Truncate``: truncate the response
  * ``DNSAction.NoRecurse``: set rd=0 on the query