DOC: management: fix "show resolvers" alphabetical ordering
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Jan 2021 11:01:46 +0000 (12:01 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Feb 2021 11:26:07 +0000 (12:26 +0100)
Not sure why it was located between "show ssl" and "show table"...
This should be backported.

(cherry picked from commit 87ef32397101c7bc4783982af952da12c1750e88)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 84ee51a7c6266292bbcdc585eaa1fb4d43553e35)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit f7c201d1cd49ff40552c83e1861ce05d3d15d51d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

doc/management.txt

index e3aacc0..16de100 100644 (file)
@@ -2234,6 +2234,25 @@ show profiling
   Dumps the current profiling settings, one per line, as well as the command
   needed to change them.
 
+show resolvers [<resolvers section id>]
+  Dump statistics for the given resolvers section, or all resolvers sections
+  if no section is supplied.
+
+  For each name server, the following counters are reported:
+    sent: number of DNS requests sent to this server
+    valid: number of DNS valid responses received from this server
+    update: number of DNS responses used to update the server's IP address
+    cname: number of CNAME responses
+    cname_error: CNAME errors encountered with this server
+    any_err: number of empty response (IE: server does not support ANY type)
+    nx: non existent domain response received from this server
+    timeout: how many time this server did not answer in time
+    refused: number of requests refused by this server
+    other: any other DNS errors
+    invalid: invalid DNS response (from a protocol point of view)
+    too_big: too big response
+    outdated: number of response arrived too late (after an other name server)
+
 show servers state [<backend>]
   Dump the state of the servers found in the running configuration. A backend
   name or identifier may be provided to limit the output to this backend only.
@@ -2511,25 +2530,6 @@ show stat [{<iid>|<proxy>} <type> <sid>] [typed|json] [desc]
   $ echo "show stat json" | socat /var/run/haproxy.sock stdio | \
     python -m json.tool
 
-show resolvers [<resolvers section id>]
-  Dump statistics for the given resolvers section, or all resolvers sections
-  if no section is supplied.
-
-  For each name server, the following counters are reported:
-    sent: number of DNS requests sent to this server
-    valid: number of DNS valid responses received from this server
-    update: number of DNS responses used to update the server's IP address
-    cname: number of CNAME responses
-    cname_error: CNAME errors encountered with this server
-    any_err: number of empty response (IE: server does not support ANY type)
-    nx: non existent domain response received from this server
-    timeout: how many time this server did not answer in time
-    refused: number of requests refused by this server
-    other: any other DNS errors
-    invalid: invalid DNS response (from a protocol point of view)
-    too_big: too big response
-    outdated: number of response arrived too late (after an other name server)
-
 show table
   Dump general information on all known stick-tables. Their name is returned
   (the name of the proxy which holds them), their type (currently zero, always