From 5369e7a4d5a3b5c312875551310d97e50a970336 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 2 Oct 2025 11:12:43 +0200 Subject: [PATCH] dnsdist: The dynamic block tag name is set via `tagName`, not `tagKey` Signed-off-by: Remi Gacogne --- 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 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() -- 2.47.3