How to tune the DNS client resolver library through /etc/resolv.conf
Issue
- If multiple nameservers are configured in
/etc/resolv.confand the first one is unreachable for any reason, each hostname lookup operation slows down - How do I shorten the amount of time (timeout) before the resolver fails over to a different DNS server?
- How do I shorten the amount of attempts the resolver makes before giving up?
Environment
- Red Hat Enterprise Linux (all versions)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
