When does the DNS resolver not try to use all searchdomain domains that are specified in /etc/resolv.conf ?
Issue
- When specifying multiple
searchdomainparameters in/etc/resolv.confthen 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.domaindoes not exist he is not trying to lookuphostin the furthersearchdomains? - When specifying multiple
searchdomainparameters in/etc/resolv.confthen utilies depending onbind-libare not able to attempt lookups for allsearchdomainparameters while utilities depending on GLIBC for resolving use allsearchdomainparameters. 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.