From 74c4cff14975cd41fc73cc933eedd0754ef36010 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 9 Dec 2022 09:47:27 +0100 Subject: [PATCH] dnsdist: Fix a typo in the Healthcheck configuration guide As reported by Kai Stian Olstad (thanks!). --- pdns/dnsdistdist/docs/guides/downstreams.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/guides/downstreams.rst b/pdns/dnsdistdist/docs/guides/downstreams.rst index 2a986c81a1..036cf140e4 100644 --- a/pdns/dnsdistdist/docs/guides/downstreams.rst +++ b/pdns/dnsdistdist/docs/guides/downstreams.rst @@ -54,7 +54,7 @@ The number of health check failures before a server is considered down is config The ``CD`` flag can be set on the query by setting ``setCD`` to true. e.g.:: - newServer({address="192.0.2.1", checkType="AAAA", checkType=DNSClass.CHAOS, checkName="a.root-servers.net.", mustResolve=true}) + newServer({address="192.0.2.1", checkType="AAAA", checkClass=DNSClass.CHAOS, checkName="a.root-servers.net.", mustResolve=true}) You can turn on logging of health check errors using the :func:`setVerboseHealthChecks` function. -- 2.47.2