From: Jonas Schäfer Date: Sun, 12 Jan 2020 09:59:49 +0000 (+0100) Subject: Improve checkFunction example for downstreams guide X-Git-Tag: auth-4.3.0-beta1~39^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8690%2Fhead;p=thirdparty%2Fpdns.git 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. --- 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 ------------------------