]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix a typo in the Healthcheck configuration guide 12306/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 9 Dec 2022 08:47:27 +0000 (09:47 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 9 Dec 2022 08:47:27 +0000 (09:47 +0100)
As reported by Kai Stian Olstad (thanks!).

pdns/dnsdistdist/docs/guides/downstreams.rst

index 2a986c81a1114010dff541629e1eb5017e7a6083..036cf140e41d3c347c162ad48d455a96bfa63f06 100644 (file)
@@ -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.