-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
rhel-9.3.0
-
None
-
None
-
rhel-sst-system-roles
-
None
-
False
-
-
None
-
None
-
-
None
-
None
-
Enhancement
-
-
Unspecified
-
None
NetworkManager can be configured to setup dnsmasq or systemd-resolved for DNS caching, this could be a beneficial features in many environments. It both reduces the load on the DNS servers but also speeds up operations on systems as replies to DNS queries are often instant.
Here in upstream we probably should make both of the above alternative supported since Fedora seems to prefer systemd-resolved but on RHEL only dnsmasq is supported.
There's an existing role implementing this which could be used as a reference or starting point:
https://github.com/myllynen/rhel-ansible-roles/tree/master/roles/dns_cache