Best practice for DNS caching in RHEL
Environment
- Red Hat Enterprise Linux
- bind
- unbound
- dnsmasq
- NSCD (May be removed in later releases of RHEL)
Technology Preview
- systemd-resolved (RHEL 8, 9)
Issue
- How to configure DNS cache in RHEL ?
- How to cache DNS query in RHEL ?
Resolution
bind
,unbound
,dnsmasq
,NSCD
ORsystemd-resolved
can be configured to cache DNS queries in RHEL systems.- How to configure DNS caching server with bind in RHEL
- How to configure DNS caching server with unbound in RHEL
- How to configure DNS caching server with dnsmasq in RHEL
- How to configure nscd for naming resolution?
Note: systemd-resolved
is provided as Technology Preview in RHEL 8, 9
Root Cause
- By default, RHEL does not cache DNS queries.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments