Hi list
Using dnsdist 1.5.2 with four configured backend servers
(backend01-backend04).
Is there a way to configure dnsdist to use backend03 and backend04 only,
if backend01 and backend02 are not answering on the healthcheck? Or
better: use backend03 or backend04 only if backend01 or backend
Hi Tom,
Maybe it can be implemented with a "Lua Server Policy"
https://dnsdist.org/guides/serverselection.html?highlight=health#lua-server-policies
based on :isUp() of the Server object from getPoolServers(name)
Winfried
Am 2. Juni 2021 09:19:53 MESZ schrieb Tom via dnsdist
:
>Hi list
>
>Usi
Hello Tom,
This might come very close to what you are looking for:
newServer({name="backend01",order=1, qps=5000,...})
newServer({name="backend02",order=1, qps=5000,...})
newServer({name="backend03",order=2, qps=5000,...})
newServer({name="backend04",order=2, qps=5000,...})
setServerPolicy(first
June 2, 2021 10:28 AM, "Daniel Stirnimann via dnsdist"
wrote:
> Hello Tom,
>
> This might come very close to what you are looking for:
>
> newServer({name="backend01",order=1, qps=5000,...})
> newServer({name="backend02",order=1, qps=5000,...})
> newServer({name="backend03",order=2, qps=5000,.
Hi Stefan, Daniel
Many thanks for your feedback. I'll give a try.
Kind regards,
Tom
On 02.06.21 10:35, Stefan Schmidt via dnsdist wrote:
June 2, 2021 10:28 AM, "Daniel Stirnimann via dnsdist"
wrote:
Hello Tom,
This might come very close to what you are looking for:
newServer({name="back
___
From: dnsdist on behalf of Daniel
Stirnimann via dnsdist
Sent: Wednesday, 2 June 2021 16:28
To: Tom ; dnsdist@mailman.powerdns.com
Subject: Re: [dnsdist] Question on backend selection
Hello Tom,
This might come very close to what you are looking for:
newServer({name="backend