[PATCH] resolv: Avoid duplicate query if search list contains '.' (option 2)
Florian Weimer
fweimer@redhat.com
Fri Jan 9 10:40:21 GMT 2026
* Carlos Peon Costa:
> Setting the legacy "domain" option adds the specified domain to the
> search list, so to disable search list processing IMO the only
> configuration option needed is
>
> search .
>
> To be honest I don't know what other stub resolvers are already doing.
> I'm trying to address the case where the same query is performed
> twice, once "as_is" and another one appending then "." domain that
> effectively does not modify the original query.
I think the traditional assumption is that "." in the search list is
unsuported and should be removed. I checked the documentation of
multiple implementations, and no one seems to document the intended
behavior of ".".
Are you using "." to suppress search list processing?
Thanks,
Florian
More information about the Libc-alpha
mailing list