{ "mvCacheHitResponseRule", true, "from, to", "move cache hit response rule 'from' to a position where it is in front of 'to'. 'to' can be one larger than the largest rule" },
+ { "mvCacheHitResponseRuleToTop", true, "", "move the last cache hit response rule to the first position" },
{ "mvResponseRule", true, "from, to", "move response rule 'from' to a position where it is in front of 'to'. 'to' can be one larger than the largest rule" },
+ { "mvResponseRuleToTop", true, "", "move the last response rule to the first position" },
{ "mvRule", true, "from, to", "move rule 'from' to a position where it is in front of 'to'. 'to' can be one larger than the largest rule, in which case the rule will be moved to the last position" },
+ { "mvRuleToTop", true, "", "move the last rule to the first position" },
{ "mvSelfAnsweredResponseRule", true, "from, to", "move self-answered response rule 'from' to a position where it is in front of 'to'. 'to' can be one larger than the largest rule" },
+ { "mvSelfAnsweredResponseRuleToTop", true, "", "move the last self-answered response rule to the first position" },
{ "NetmaskGroupRule", true, "nmg[, src]", "Matches traffic from/to the network range specified in nmg. Set the src parameter to false to match nmg against destination address instead of source address. This can be used to differentiate between clients" },
{ "newBPFFilter", true, "maxV4, maxV6, maxQNames", "Return a new eBPF socket filter with a maximum of maxV4 IPv4, maxV6 IPv6 and maxQNames qname entries in the block table" },
{ "newCA", true, "address", "Returns a ComboAddress based on `address`" },
{ "topClients", true, "n", "show top-`n` clients sending the most queries over length of ringbuffer" },
{ "topQueries", true, "n[, labels]", "show top 'n' queries, as grouped when optionally cut down to 'labels' labels" },
{ "topResponses", true, "n, kind[, labels]", "show top 'n' responses with RCODE=kind (0=NO Error, 2=ServFail, 3=NXDomain), as grouped when optionally cut down to 'labels' labels" },
- { "topResponseRule", true, "", "move the last response rule to the first position" },
- { "topRule", true, "", "move the last rule to the first position" },
- { "topSelfAnsweredResponseRule", true, "", "move the last self-answered response rule to the first position" },
{ "topSlow", true, "[top][, limit][, labels]", "show `top` queries slower than `limit` milliseconds, grouped by last `labels` labels" },
{ "TrailingDataRule", true, "", "Matches if the query has trailing data" },
{ "truncateTC", true, "bool", "if set (defaults to no starting with dnsdist 1.2.0) truncate TC=1 answers so they are actually empty. Fixes an issue for PowerDNS Authoritative Server 2.9.22. Note: turning this on breaks compatibility with RFC 6891." },
- Move the last response rule to the first position.
+ .. versionchanged:: 1.6.0
+ Replaced by :func:`mvResponseRuleToTop`
+
+ Before 1.6.0, this function used to move the last response rule to the first position, which is now handled by :func:`mvResponseRuleToTop`.
Functions for manipulating Cache Hit Response Rules:
@@ -442,6+460,12 @@ Functions for manipulating Cache Hit Response Rules:
:param int from: Rule number to move
:param int to: Location to more the Rule to
+.. function:: mvCacheHitResponseRuleToTop()
+
+ .. versionadded:: 1.6.0
+
+ This function moves the last cache hit response rule to the first position. Before 1.6.0 this was handled by :func:`topCacheHitResponseRule`.
+
.. function:: rmCacheHitResponseRule(id)
.. versionadded:: 1.2.0
@@ -471,7+495,10 @@ Functions for manipulating Cache Hit Response Rules:
.. versionadded:: 1.2.0
- Move the last cache hit response rule to the first position.
+ .. versionchanged:: 1.6.0
+ Replaced by :func:`mvCacheHitResponseRuleToTop`
+
+ Before 1.6.0, this function used to move the last cache hit response rule to the first position, which is now handled by :func:`mvCacheHitResponseRuleToTop`.
Functions for manipulating Self-Answered Response Rules:
@@ -494,6+521,12 @@ Functions for manipulating Self-Answered Response Rules:
:param int from: Rule number to move
:param int to: Location to more the Rule to
+.. function:: mvSelfAnsweredResponseRuleToTop()
+
+ .. versionadded:: 1.6.0
+
+ This function moves the last self-answered response rule to the first position. Before 1.6.0 this was handled by :func:`topSelfAnsweredResponseRule`.
+
.. function:: rmSelfAnsweredResponseRule(id)
.. versionadded:: 1.3.0
@@ -519,6+552,11 @@ Functions for manipulating Self-Answered Response Rules:
.. versionadded:: 1.3.0
+ .. versionchanged:: 1.6.0
+ Replaced by :func:`mvSelfAnsweredResponseRuleToTop`
+
+ Before 1.6.0 this function used to move the last cache hit response rule to the first position, which is now handled by :func:`mvSelfAnsweredResponseRuleToTop`.
+
Move the last self answered response rule to the first position.