Penned by Otto Moerbeek on 20140429 9:07.54, we have: | On Tue, Apr 29, 2014 at 10:04:35AM -0400, Simon Perreault wrote: | | > Le 2014-04-29 09:55, Henning Brauer a ?crit : | > >> Wouldn't it be better if libasr would run A and AAAA requests in | > >> parallel? Whichever response arrives first "wins". | > > no, since that gives extremely unpredictable results. | > | > How about this then: | > | > - Run both requests in parallel. | > - When one response is received, start a short timer (e.g. 200ms or so). | > - If the second response is received before the timer expires, sort and | > return the results as usual. | > - Otherwise, kill the second request and return what you have. | > | > Simon | | I'm still not sure what problem you bare trying to solve. I only see | added complexity here. | | -Otto
Some broken routers that dish out dhcp leases and set themselves as the recursive resolver have been reported to not respond when someone queries AAAA. There may be some benifit, but for what percent of users? Added complexity seems not the direction we want to go in, indeed. Thanks, -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries
