From 93ee0a27f31849b04093f906c4b609ee2a1b6aa0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonas=20Sch=C3=A4fer?= Date: Sun, 12 Jan 2020 10:59:49 +0100 Subject: [PATCH] Improve checkFunction example for downstreams guide The check function was defined, but not used, making the example slightly confusing as to how to use it correctly. --- 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 04cb57a0dd..a478c8eace 100644 --- a/pdns/dnsdistdist/docs/guides/downstreams.rst +++ b/pdns/dnsdistdist/docs/guides/downstreams.rst @@ -55,7 +55,7 @@ The following example sets the CD flag to true and change the QName to "powerdns return newDNSName("powerdns.com."), dnsdist.AAAA, qclass end - newServer("2620:0:0ccd::2") + newServer({address="2620:0:0ccd::2", checkFunction=myHealthCheck}) Source address selection ------------------------ -- 2.47.2