newServer({address="192.0.2.1", checkType="AAAA", checkType=DNSClass.CHAOS, checkName="a.root-servers.net.", mustResolve=true})
+You can turn on logging of health check errors using the :func:`setVerboseHealthChecks` function.
+
Since the 1.3.0 release, the ``checkFunction`` option is also supported, taking a ``Lua`` function as parameter. This function receives a DNSName, two integers and a ``DNSHeader`` object (:ref:`DNSHeader`)
representing the QName, QType and QClass of the health check query as well as the DNS header, as they are defined before the function was called. The function must return a DNSName and two integers
representing the new QName, QType and QClass, and can directly modify the ``DNSHeader`` object.
- ``tcp-send-timeout``
- ``truncate-tc``
- ``verbose``
- - ``verbose-health-checks``
+ - ``verbose-health-checks`` The currently configured :func:`setVerboseHealthChecks`
:property string name: The name of the setting
:property string type: "ConfigSetting"
:param {str} selectors: A lua table of selectors. Only queries matching all selectors are shown
:param int num: Show a maximum of ``num`` recent queries, default is 10.
+.. function:: setVerboseHealthChecks(verbose)
+
+ Set whether health check errors should be logged. This is turned off by default.
+
+ :param bool verbose: Set to true if you want to enable health check errors logging
+
.. function:: showBinds()
Print a list of all the current addresses and ports dnsdist is listening on, also called ``frontends``