When does the DNS resolver not try to use all searchdomain domains that are specified in /etc/resolv.conf ?
Issue
- When specifying multiple
searchdomain
parameters in/etc/resolv.conf
then the DNS resolver should try to use all of these DNS domains to resolve ahost
. Why is the resolver apparently only trying to resolve with the firstsearchdomain
, and whilehost.first.search.domain
does not exist he is not trying to lookuphost
in the furthersearchdomains
? - When specifying multiple
searchdomain
parameters in/etc/resolv.conf
then utilies depending onbind-lib
are not able to attempt lookups for allsearchdomain
parameters while utilities depending on GLIBC for resolving use allsearchdomain
parameters. Why is that?
Environment
- Red Hat Enterprise Linux (RHEL), several versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.