From e4901b4914b3e22f737a6be2059de25f72f5381c Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 11 Dec 2023 16:15:23 +0100 Subject: [PATCH] dnsdist: Fix formatting issues in the documentation --- pdns/dnsdistdist/docs/reference/config.rst | 4 ++-- pdns/dnsdistdist/docs/reference/dq.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index b4055536cd..e27d9f9e01 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -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. diff --git a/pdns/dnsdistdist/docs/reference/dq.rst b/pdns/dnsdistdist/docs/reference/dq.rst index 634ff81d3f..69bd0a2bb9 100644 --- a/pdns/dnsdistdist/docs/reference/dq.rst +++ b/pdns/dnsdistdist/docs/reference/dq.rst @@ -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 -- 2.47.2