From 364bfc9ffc0fe564bcf2bb5406a01e124c0faff3 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 23 May 2024 12:17:04 +0200 Subject: [PATCH] dnsdist: Document that 'tagValue' can be omitted for tag actions --- pdns/dnsdistdist/docs/reference/config.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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() -- 2.47.2