]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix documentation issues reported by Habbie
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Dec 2023 13:48:11 +0000 (14:48 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Dec 2023 13:48:11 +0000 (14:48 +0100)
pdns/dnsdistdist/docs/reference/constants.rst
pdns/dnsdistdist/docs/rules-actions.rst

index e5300da5ef8504954cac5c7df03eca5f590e27d0..da6dfc9b66335f03fa91915106a73b671f2e743f 100755 (executable)
@@ -154,7 +154,7 @@ All named `QTypes <https://www.iana.org/assignments/dns-parameters/dns-parameter
 DNSResponseAction
 -----------------
 
-.. versionchanged:: 1.8.0
+.. versionchanged:: 1.9.0
   The ``DNSResponseAction.Truncate`` value was added.
 
 These constants represent an Action that can be returned from :func:`LuaResponseAction` functions.
index 469f3c1e2f2eaba51bb01479d614d5ccd021c7ab..bfd59b44785c42ab116480f3b12d5eee645f9e17 100644 (file)
@@ -730,10 +730,10 @@ These ``DNSRule``\ s be one of the following items:
 
   .. versionadded:: 1.9.0
 
-  Matches queries or responses whose DNS payload size is equal, greater, greater or equal, smaller or smaller or equal to the specified size.
+  Matches queries or responses whose DNS payload size fits the given comparison.
 
   :param str comparison: The comparison operator to use. Supported values are ``equal``, ``greater``, ``greaterOrEqual``, ``smaller`` and ``smallerOrEqual``.
-  :param int size: The size to compare to.w
+  :param int size: The size to compare to.
 
 .. function:: ProbaRule(probability)
 
@@ -1900,7 +1900,7 @@ The following actions exist.
 
   .. versionadded:: 1.9.0
 
-  Truncate an existing answer, to force the client to TCP.
+  Truncate an existing answer, to force the client to TCP. Only applied to answers that will be sent to the client over TCP.
 
 .. function:: TeeAction(remote[, addECS[, local [, addProxyProtocol]]])