#2461 adding reverse zones in gui/cli fails to create correct zone
Closed: Fixed None Opened 12 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=798493 (Red Hat Enterprise Linux 6)

Description of problem:
When adding a reverse zone in the IPA web gui, the zoned is not named
correctly.  As such, when adding hosts, IPA complains that no reverse zone can
be found.  Moreover, the reverse zone fails to function.

Version-Release number of selected component (if applicable):
ipa-server-2.1.3-9.el6.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Add a new zone, select 'Reverse zone IP Network'
2. Add the zone '192.168.12' or '192.168.12.0', fill in the nameserver/email
address fields and click add.
3. The zone is created as '0.12.168.192.in-addr.arpa' rather than
'12.168.192.in-addr.arpa'.  This is regardless of entering 192.168.12.0 or
192.168.12 in step 2.

Actual results:
The created zone 0.12.168.192.in-addr.arpa fails to function properly. Adding
new hosts yields an error message that a reverse zone cannot be found.

Expected results:
The zone to be created as 12.168.192.in-addr.arpa.

Additional info:
*NOTE* the command line util 'ipa dnszone-add' has similar issues, however,
tipa dnszone-add gives you a chance to change the zone name prior to creation.

This applies to CLi too.

Patch freeipa-mkosek-302-stricter-ip-network-validator-in-dnszone-add-command.patch sent for review

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.0 Beta 3

7 years ago

Login to comment on this ticket.

Metadata