#4333 ipa dnszone-add accepts contradicting --name-from-ip= and zone name
Closed: wontfix 5 years ago Opened 9 years ago by pspacek.

IMHO this command should fail. User should either enter a zone name or use --name-from-ip= parameter.

# ipa dnszone-add 113.0.203.in-addr.arpa. --name-from-ip=192.0.2.0/24
Authoritative nameserver: ns.example.
Administrator e-mail address [hostmaster.113.0.203.in-addr.arpa.]: 
  Zone name: 113.0.203.in-addr.arpa.

This was found during investigation https://bugzilla.redhat.com/show_bug.cgi?id=1058688.


Side-note:
ipa dnszone-add --name-from-ip= without zone name doesn't work if it is called from script.

ipa dnszone-add --name-from-ip=192.0.2.0/24 --name-server=localhost. --admin-email=admin.localhost.
Zone name [2.0.192.in-addr.arpa.]: 
ipa: ERROR: Could not get Zone name interactively

Workaround is:

echo "" | ipa dnszone-add --name-from-ip=192.0.2.0/24 --name-server=localhost. --admin-email=admin.localhost.

Processing 4.2 backlog. This ticket was found as something that is not a priority for the nearest releases.

But as usual, please feel free to discuss your use cases or contribute patches, to make that happen sooner!

Metadata Update from @pspacek:
- Issue assigned to mbabinsk
- Issue set to the milestone: Future Releases

7 years ago

Thank you taking time to submit this request for FreeIPA. Unfortunately this bug was not given priority and the team lacks the capacity to work on it at this time.

Given that we are unable to fulfil this request I am closing the issue as wontfix. To request re-consideration of this decision please reopen this issue and provide additional technical details about its importance to you.

Metadata Update from @rcritten:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata