resolver behaviour regarding searchlist and A/AAAA query replies

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


>>>>> On Mon, 1 May 2006 20:46:40 +0200
>>>>> Jan Gyselinck <freebsd-stable at> 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).


Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at  ume@{,jp.}

More information about the freebsd-stable mailing list