resolver behaviour regarding searchlist and A/AAAA query replies

Hajimu UMEMOTO ume at freebsd.org
Thu May 4 23:39:58 UTC 2006


Hi,

>>>>> On Mon, 1 May 2006 20:46:40 +0200
>>>>> Jan Gyselinck <freebsd-stable at b0rken.net> said:

Jan> What I find strange though, is the fact it's now applying the searchlist
Jan> to get an answer on the AAAA query.  Other than the fact this could
Jan> potentially give unpredictable results in specific situations, I find
Jan> this rather illogical.  Since one of the queries (A or AAAA) succeeded
Jan> we _know_ the host in question exists (and the searchlist is there to
Jan> make non-fqdn queries work for 'local' hosts, by applying the searchlist
Jan> if the host does not seem to exist).  So, in short, isn't this a bug?

Which application did you use?  The application which doesn't use
getaddrinfo(3) has this issue, and it cannot be fixed without
re-writing the application to use getaddrinfo(3).

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-stable mailing list