Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-3262

Add support for DNS caching management

    • None
    • None
    • rhel-sst-system-roles
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      As a system administrator managing a large-scale network environment, I want to enable DNS caching for the systems I oversee using the Ansible network role, so that I can optimize DNS query responses and reduce the overall load on my DNS servers.

      Given a system administrator deploys the Ansible network role to configure DNS caching,
      When they specify their preferred DNS caching method (systemd-resolved for Fedora or dnsmasq for RHEL),
      Then the system should be correctly configured to use the chosen method.

      Definition of Done

      • The implementation meets the acceptance criteria
      • The unit tests and integration tests are written and passed
      • The code is part of a build attached to an errata
      Show
      As a system administrator managing a large-scale network environment, I want to enable DNS caching for the systems I oversee using the Ansible network role, so that I can optimize DNS query responses and reduce the overall load on my DNS servers. Given a system administrator deploys the Ansible network role to configure DNS caching, When they specify their preferred DNS caching method ( systemd-resolved for Fedora or dnsmasq for RHEL), Then the system should be correctly configured to use the chosen method. Definition of Done The implementation meets the acceptance criteria The unit tests and integration tests are written and passed The code is part of a build attached to an errata
    • None
    • None
    • Enhancement
    • 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

              nm-team Network Management Team
              rmeggins@redhat.com Richard Megginson
              rhel-cs-system-management-subsystem-qe Bot rhel-cs-system-management-subsystem-qe Bot
              Mayur Patil Mayur Patil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: