[dnsdist] Clarification on weight in newServer option

Remi Gacogne remi.gacogne at powerdns.com
Fri Jul 28 08:02:16 UTC 2017

On 07/27/2017 07:53 PM, Frank Even wrote:
> So, weight seems to be honored on initial traffic receipt.  But if I
> test by taking down the node with a higher weighting, so the traffic
> shifts to nodes with lower weighting, then I bring the heavier
> weighted node back into rotation, traffic does not seem to shift back
> to it.  Now maybe it eventually does, but in 5 minutes or so of
> testing it did not.  Even after taking away the test traffic from the
> client and then re-applying it after a couple minutes, traffic was
> still choosing the lesser weighted node, not the heavier weighted.  I
> guess the question is if left for a longer length of time, would it
> eventually start honoring the weight?

That's not expected, especially since we keep no state to do the
load-balancing. Which policy are you using, wrandom or whashed?
How do you "take down" the node, and more importantly does dnsdist
correctly mark it up when you bring it back?

Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20170728/441b0c97/attachment.sig>

More information about the dnsdist mailing list