From: Remi Gacogne Date: Thu, 2 Oct 2025 09:12:43 +0000 (+0200) Subject: dnsdist: The dynamic block tag name is set via `tagName`, not `tagKey` X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F16205%2Fhead;p=thirdparty%2Fpdns.git dnsdist: The dynamic block tag name is set via `tagName`, not `tagKey` Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index a622106e3..fa8c8d148 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -1822,7 +1822,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 + * ``tagName``: 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. Default is an empty string. .. method:: DynBlockRulesGroup:setMasks(v4, v6, port) @@ -1860,7 +1860,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 + * ``tagName``: 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. Default is an empty string .. method:: DynBlockRulesGroup:setNewBlockInsertedHook(hook) @@ -1900,7 +1900,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 + * ``tagName``: 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. Default is an empty string .. method:: DynBlockRulesGroup:setRCodeRatio(rcode, ratio, seconds, reason, blockingTime, minimumNumberOfResponses [, action [, warningRate, [options]]]) @@ -1927,7 +1927,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 + * ``tagName``: 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. Default is an empty string .. method:: DynBlockRulesGroup:setQTypeRate(qtype, rate, seconds, reason, blockingTime [, action [, warningRate, [options]]]) @@ -1951,7 +1951,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 + * ``tagName``: 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. Default is an empty string .. method:: DynBlockRulesGroup:setResponseByteRate(rate, seconds, reason, blockingTime [, action [, warningRate, [options]]]) @@ -1977,7 +1977,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 + * ``tagName``: 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. Default is an empty string .. method:: DynBlockRulesGroup:setSuffixMatchRule(seconds, reason, blockingTime, action, visitor, [options]) @@ -2009,7 +2009,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 + * ``tagName``: 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. Default is an empty string .. method:: DynBlockRulesGroup:setSuffixMatchRuleFFI(seconds, reason, blockingTime, action , visitor, [options]) @@ -2032,7 +2032,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 + * ``tagName``: 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. Default is an empty string .. method:: DynBlockRulesGroup:apply()