How to tune the DNS client resolver library through /etc/resolv.conf

Solution Verified - Updated -


  • If multiple nameservers are configured in /etc/resolv.conf and 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?


  • 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.

Current Customers and Partners

Log in for full access

Log In