[dnsdist] wrandom with downed servers?
Jacob Bunk Nielsen
jbn at one.com
Fri Jun 3 04:11:14 UTC 2022
On 03/06/2022 01.41, Aaron de Bruyn via dnsdist wrote:
>
> The goal was to make sure we can serve 'somecustomer.local' (the
> blasted Windows domain) should the local Windows Server go down and
> also continue to serve external domains without accidentally sending
> them queries for somecustomer.local.
> [...]
>
> # The local DC has the highest priority in the somecustomer pool
> because the VPN is slow.
> newServer ({address='ip.of.local.windows.dns',
> name='local-windows-dns', pool='somecustomer', qps=500,
> weight=2147483647})
It sounds to me like you really want to use the firstAvailable policy
rather than wrandom, especially when you set a local QPS limit.
See also https://dnsdist.org/guides/serverselection.html
Best regards,
Jacob
More information about the dnsdist
mailing list