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

Pagure #9686: ipa-migrate should also migrate DNS forward zones

    • ipa-4.12.2-7.el10
    • No
    • Moderate
    • 1
    • rhel-sst-idm-ipa
    • ssg_idm
    • 14
    • 16
    • 2
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • 2024-Q4-Alpha-S4
    • Unspecified Release Note Type - Unknown
    • None

      Cloned from: https://pagure.io/freeipa/issue/9686
      
      ### Issue
      The tool ipa-migrate is able to migrate DNS records but does not migrate DNS forward zones.
      
      #### Steps to Reproduce
      1. install source ipa server and add a dns forward zone: `dnf install -y freeipa-server-dns; ipa-server-install --domain ipa.test --realm IPA.TEST --setup-dns --auto-forwarders -a Secret123 -p Secret123 -U; echo Secret123 | kinit admin; ipa dnsforwardzone-add ad.test --forward-policy=only --forwarder=$IP`
      2. install destination ipa server: `dnf install -y freeipa-server-dns; ipa-server-install --domain ipa.test --realm IPA.TEST --setup-dns --auto-forwarders -a Secret123 -p Secret123 -U; echo Secret123 | kinit admin`
      3. migrate data from source to destination: on destination ipa server: `ipa-migrate --migrate-dns -n -D cn=directory\ manager -w Secret123 prod-mode source.ipa.test`
      
      #### Actual behavior
      The DNS forward zone is not migrated from source to destination
      ```
      # ipa dnsforwardzone-find
      ----------------------------
      Number of entries returned 0
      ----------------------------
      ```
      #### Expected behavior
      The DNS forward zone should also be migrated
      ```
      # ipa dnsforwardzone-find
        Zone name: ad.test.
        Active zone: True
        Zone forwarders: 10.11.12.13
        Forward policy: only
      ----------------------------
      Number of entries returned 1
      ----------------------------
      
      ```
      
      #### Version/Release/Distribution
      ```
      $ rpm -q freeipa-server
      freeipa-server-4.12.2-1.fc40.x86_64
      ```
      
      

              frenaud@redhat.com Florence Renaud
              frenaud@redhat.com Florence Renaud
              Florence Renaud Florence Renaud
              Sudhir Menon Sudhir Menon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: