From: Remi Gacogne Date: Thu, 23 May 2024 10:17:04 +0000 (+0200) Subject: dnsdist: Document that 'tagValue' can be omitted for tag actions X-Git-Tag: rec-5.1.0-beta1~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=364bfc9ffc0fe564bcf2bb5406a01e124c0faff3;p=thirdparty%2Fpdns.git dnsdist: Document that 'tagValue' can be omitted for tag actions --- diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 5fd3096281..885a3b811d 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -1692,7 +1692,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string. .. method:: DynBlockRulesGroup:setMasks(v4, v6, port) @@ -1730,7 +1730,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string .. method:: DynBlockRulesGroup:setNewBlockInsertedHook(hook) @@ -1770,7 +1770,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string .. method:: DynBlockRulesGroup:setRCodeRatio(rcode, ratio, seconds, reason, blockingTime, minimumNumberOfResponses [, action [, warningRate, [options]]]) @@ -1797,7 +1797,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string .. method:: DynBlockRulesGroup:setQTypeRate(qtype, rate, seconds, reason, blockingTime [, action [, warningRate, [options]]]) @@ -1821,7 +1821,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string .. method:: DynBlockRulesGroup:setResponseByteRate(rate, seconds, reason, blockingTime [, action [, warningRate, [options]]]) @@ -1847,7 +1847,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string .. method:: DynBlockRulesGroup:setSuffixMatchRule(seconds, reason, blockingTime, action, visitor, [options]) @@ -1879,7 +1879,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string .. method:: DynBlockRulesGroup:setSuffixMatchRuleFFI(seconds, reason, blockingTime, action , visitor, [options]) @@ -1902,7 +1902,7 @@ faster than the existing rules. Options: * ``tagKey``: str - If ``action`` is set to ``DNSAction.SetTag``, the name of the tag that will be set - * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set + * ``tagValue``: str - If ``action`` is set to ``DNSAction.SetTag``, the value of the tag that will be set. Default is an empty string .. method:: DynBlockRulesGroup:apply()