Op 06-03-13 19:02, Simon Kelley schreef:
>> Thanks for your response. In my tests the two main resolvers were
>> both equally fast (≈ 1 ms as they had the results cached), so even
>> though one may be a tiny bit quicker than the other, I doubt it would
>> be an explanation for it choosing a specific server 19 out of 20
>> times. Though it would be interesting to verify this; is there some
>> debug option that shows dnsmasq's train of thought?
> 
> The decision is made by which resolver's packet arrives first, so 
> microseconds count: I guess the ultimate arbiter is the first common switch 
> in the path from the resolvers to the host running dnsmasq.
> 
> Of course, one resolver will have an advantage because it gets the query sent 
> to it first. The order that the query is sent to the resolvers isn't defined, 
> but it's probably a consistent function of their order in the configuration 
> file.

Ah, if you say it like that -- it makes sense that the same one would be chosen 
most of the time if they are this close. Thanks!

Sjors

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to