On 15/04/2020 09:53, Florian Weimer wrote:
Thanks. Does this mean that no search list processing happens, for
neither single-label names (per for the first paragraph), nor for
multi-label names (per the routing description)? Or is this process
described in some other context?
That text doesn't mention search list processing because I assume
it is describing what happens to each name after any domain from the
search list has been added but resolved.conf(5) says:
Domains=
A space-separated list of domains. These domains are used as search
suffixes when resolving single-label host names (domain names which
contain no dot), in order to qualify them into fully-qualified
domain names (FQDNs). Search domains are strictly processed in the
order they are specified, until the name with the suffix appended
is found. For compatibility reasons, if this setting is not
specified, the search domains listed in /etc/resolv.conf are used
instead, if that file exists and any domains are configured in it.
This setting defaults to the empty list.
Specified domain names may optionally be prefixed with "~". In this
case they do not define a search path, but preferably direct DNS
queries for the indicated domains to the DNS servers configured
with the system DNS= setting (see above), in case additional,
suitable per-link DNS servers are known. If no per-link DNS servers
are known using the "~" syntax has no effect. Use the construct
"~." (which is composed of "~" to indicate a routing
domain and
"." to indicate the DNS root domain that is the implied suffix of
all DNS domains) to use the system DNS server defined with DNS=
preferably for all domains.
That is about the global option but the same logic applies to per-interface
search lists I assume.
Tom
--
Tom Hughes (tom(a)compton.nu)
http://compton.nu/