[dnsdist] Question on configuration which I can not make work
Winfried
walists at mailbox.org
Wed Nov 12 06:20:14 UTC 2025
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 <dnsdist at mailman.powerdns.com>:
>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 <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
More information about the dnsdist
mailing list