[Unbound-users] Forward zone query distribution
ihsan at dogan.ch
Mon May 18 14:31:11 UTC 2015
On Monday, 18 May 2015 16:14 +0200, W.C.A. Wijngaards wrote:
> > I've got a question how queries are distributed to forward
> > resolvers.
> > In this example, I've defined that all queries, which can't be
> > answered from the cache, are forwarded to Google's DNS servers:
> > forwared-zone: name: "." forward-addr: 22.214.171.124 forward-addr:
> > 126.96.36.199
> > How are the queries distributed between 188.8.131.52 and 184.108.40.206? Are
> > all queries going to 220.127.116.11 because it's the first one, are they
> > distributed via round-robin or is the one with the lowest response
> > time getting the most of the queries?
> Initially at random. Then, once the response time is known, one of
> the fastest ones. It picks one at random from the "RTT band", so
> small differences in response time do not matter. If ping time to
> those two IP addresses is roughly similar, then it'll end up as a
> 50/50 split.
> There is a lot more logic, mostly for interoperability with
> malconformant servers or servers with DNSSEC-bogus content. But for
> this example that would not make a difference.
Thanks a lot for the quick reply. :-)
ihsan at dogan.ch http://blog.dogan.ch/
More information about the Unbound-users