#5980 dnszone-add does not add realdomains entry for certain master zones
Closed: Fixed Opened by pspacek.

Realmdomains integration into DNS commands pre-dates split of DNS forward zones and DNS master zones into two distinct commands.

There is an forgotten condition in dnszone_add command which causes omission of DNS master zones with non-empty forwarders from realmdomain list:

         if (zone != DNSName(api.env.domain).make_absolute() and
-                 not options.get('idnsforwarders') and
                 not zone.is_reverse() and
                 zone != DNSName.root):

The one-liner (above) will fix it.


master:

  • 22f4045f72daf182c44ce574291c0d8a7733713b DNS: Fix realm domains integration with DNS zone add.

ipa-4-3:

  • 043737e35f58b6cf08f17eb78c28ee7527a8fc27 DNS: Fix realm domains integration with DNS zone add.

ipa-4-2:

  • 8d57d3b6083f874bbeac8ac65d67bdca2c8c1c2a DNS: Fix realm domains integration with DNS zone add.

master:

  • bf91c0f938502fdd9ac6490d0781788ec99a868b DNS: Fix tests for realm domains integration with DNS zone add

ipa-4-3:

  • ae3b905ecb5fe3c1e2b46aeee9ed66fa03337f9b DNS: Fix tests for realm domains integration with DNS zone add

ipa-4-2:

  • 864cc6994b2b4abc775be88864b706e6386be3f2 DNS: Fix tests for realm domains integration with DNS zone add

Metadata Update from @pspacek:
- Issue assigned to pspacek
- Issue set to the milestone: FreeIPA 4.2.5

Metadata