Best practice for DNS caching in RHEL

Solution Verified - Updated -


  • How to configure DNS cache in RHEL ?
  • How to cache DNS query in RHEL ?


  • Red Hat Enterprise Linux
  • NSCD(Removed in Fedora 36+/RHEL 10 replaced by systemd-resolved)
  • systemd-resolved(RHEL 8 or higher)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content