Bug#343140: resolver uses search list before other addresses

2007-02-06 Thread Pierre HABOUZIT
On Tue, Jan 24, 2006 at 01:59:38PM -0500, Michael Stone wrote: > >Ok, let's clarify some things here. resolv.conf(5) describes the > >behaviour of a _single_ resolver query. If you look at > >resolv/nss_dns/dns-host.c in the glibc source, you'll see that > >gethostbyname(3) is implemented as _tw

Bug#343140: resolver uses search list before other addresses

2006-01-24 Thread Michael Stone
Ok, let's clarify some things here. resolv.conf(5) describes the behaviour of a _single_ resolver query. If you look at resolv/nss_dns/dns-host.c in the glibc source, you'll see that gethostbyname(3) is implemented as _two_ distinct resolver invocations. Since it is nowhere specified how many