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

Prevent NM from handling DNS when network interfaces have DNS config (#5846)

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • qemu-kvm / Networking
    • None
    • rhel-sst-virtualization-networking
    • ssg_virtualization
    • 1
    • False
    • Hide

      None

      Show
      None

      Source: https://gitlab.com/redhat/centos-stream/src/cloud-init/-/merge_requests/116


      Jira: https://issues.redhat.com/browse/RHEL-65768

      In the change under PR #5401, we use global DNS configuration as well as
      DNS and search domain information from interface config and use it to populate
      /etc/resolv.conf. Therefore, if either or both global DNS/search domain config
      is present along with per-interface DNS/search domain information, we should add
      a network manager configuration to prevent network manager from manipulating
      /etc/resolv.conf.
      This is in addition to what we already do when only global DNS data is
      configured.

      Fixes bug added in 1b8030e0 .

      Signed-off-by: Ani Sinha <anisinha@redhat.com>
      (cherry picked from commit 2df49b652471999434f06d9d83ed9db8b4055895)

              virt-maint virt-maint
              aadam@redhat.com Ariel Adam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: