[dnsdist] Question on configuration which I can not make work
Alexis Berthillier
alexis at berthillier.net
Tue Nov 11 22:05:46 UTC 2025
First, thank you, got the DoH and DoT servers working now.
ok if I understand that properly:
-- Send queries to default pool when servers are available
addAction(PoolAvailableRule(""), PoolAction("primary"))
-- Send queries to backup pool if not
addAction(AllRule(), PoolAction("backup”))
Primary pool will be used till there is no more available server and then go to backup, is that accurate?
If I wsa not using pools, then what would be the other way to do this?
Set all primary servers to order=0, and backup to order=1, and this will also work the same way as above but not relying on pools, is that correct?
If so, just have to add the order parameter to the server definition, right?
Thank you
> On Nov 11, 2025, at 1:18 PM, Winfried via dnsdist <dnsdist at mailman.powerdns.com> wrote:
>
>> Is the failover definition between the two pools correct here?
>
> I've never tried failover pools before. But I just came across the "PoolAvailableRule":
> https://www.dnsdist.org/reference/selectors.html?highlight=poolavailablerule#PoolAvailableRule
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist
More information about the dnsdist
mailing list