On 2009/06/04 21:43, Henning Brauer wrote: > * Pierre-Yves Ritschard <p...@cvs.openbsd.org> [2009-06-04 20:11]: > > CVSROOT: /cvs > > Module name: src > > Changes by: p...@cvs.openbsd.org 2009/06/04 12:06:35 > > > > Modified files: > > include : resolv.h > > lib/libc/net : res_init.c getaddrinfo.c > > > > Log message: > > Add a resolv.conf option to specify the order in which getaddrinfo > > PF_UNSPEC queries are made. While there change the default from inet6 > > first then inet4 to inet4 first then inet6, this prevents the many > > people with IPv4 only connectivity from constantly trying to contact > > IPv6 addresses, and also unbreaks many ports who don't use getaddrinfo > > right. > > yay! > > > ok deraadt@, plenty of cheering in the room wrt the idea, not loud > > enough complaining from the v6 crowd. > > two ppl makes a crowd?
it works around a bug with firefox's resolver which blocks all dns queries until a timeout expires when there's no answer. (some sites just drop AAAA queries on the floor rather than returning a negative response, triggering this behaviour. test case login.facebook.com if anyone wants one).