Hi,

It's noticeable that you're using an empty string as an argument for 
PoolAvailableRule. That's the dnsdist "default" pool. However, your pool is 
named "primary".

Winfried 


Am 12. November 2025 01:38:53 MEZ schrieb Alexis Berthillier via dnsdist 
<[email protected]>:
>OK I tried that, and this does not work, it sends all data to the backup 
>instead of the primary pool.
>It seems like something is missing to just check the health of the pool here….
>Any idea on how to make this work, with or without the pools?
>
>Thank you
>
>
>
>
>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 
>> <[email protected]> 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
[email protected]
https://mailman.powerdns.com/mailman/listinfo/dnsdist

Reply via email to