#5980 dnszone-add does not add realdomains entry for certain master zones
Closed: Fixed None Opened 7 years ago 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:

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

ipa-4-3:

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

ipa-4-2:

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

master:

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

ipa-4-3:

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

ipa-4-2:

  • 864cc69 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

7 years ago

Login to comment on this ticket.

Metadata