]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix formatting issues in the documentation
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 11 Dec 2023 15:15:23 +0000 (16:15 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 11 Dec 2023 15:15:23 +0000 (16:15 +0100)
pdns/dnsdistdist/docs/reference/config.rst
pdns/dnsdistdist/docs/reference/dq.rst

index b4055536cd90c65da8f2690f566ac0132f9fbf57..e27d9f9e016cce87936de5ebae73ebb256484268 100644 (file)
@@ -1247,11 +1247,11 @@ Status, Statistics and More
   Set whether log messages should be in a structured-logging-like format. This is turned off by default.
   The resulting format looks like this (when timestamps are enabled via ``--log-timestamps`` and with ``levelPrefix="prio"`` and ``timeFormat="ISO8601"``)::
 
-  ts="2023-11-06T12:04:58+0100" prio="Info" msg="Added downstream server 127.0.0.1:53"
+    ts="2023-11-06T12:04:58+0100" prio="Info" msg="Added downstream server 127.0.0.1:53"
 
   And with ``levelPrefix="level"`` and ``timeFormat="numeric"``)::
 
-  ts="1699268815.133" level="Info" msg="Added downstream server 127.0.0.1:53"
+    ts="1699268815.133" level="Info" msg="Added downstream server 127.0.0.1:53"
 
   :param bool enable: Set to true if you want to enable structured logging
   :param table options: A table with key: value pairs with options described below.
index 634ff81d3ff17ce2bf99fb30b78c381bbf7bf4da..69bd0a2bb92c6fa8a16e01143f9cd6f03dffe34c 100644 (file)
@@ -375,7 +375,7 @@ This state can be modified from the various hooks.
     :param table ComboAddresses ips: The `ComboAddress`es to be spoofed, e.g. `{ newCA("192.0.2.1"), newCA("192.0.2.2") }`.
     :param string raw: The raw string to be spoofed, e.g. `"\\192\\000\\002\\001"`.
     :param table raws: The raw strings to be spoofed, e.g. `{ "\\192\\000\\002\\001", "\\192\\000\\002\\002" }`.
-    :param int typeForAny: The type to use for raw responses when the requested type is ``ANY``, as using ``ANY` for the type of the response record would not make sense.
+    :param int typeForAny: The type to use for raw responses when the requested type is ``ANY``, as using ``ANY`` for the type of the response record would not make sense.
 
   .. method:: DNSQuestion:suspend(asyncID, queryID, timeoutMS) -> bool