#417 host-add --ipaddr shouldn't fail if reverse zone isn't available
Closed: Fixed None Opened 13 years ago by rcritten.

When adding a host and DNS entry at the same time we blow up if we don't own the reverse zone. That should be either a warning we raise or we should add a flag to add it anyway.

We may manage just the forward zone and not the reverse.


ipa help host-add does not mention that there is an option --ipaddr ?

The patch to add the --ipaddr option (ticket https://fedorahosted.org/freeipa/ticket/297) was still pending review. It has been pushed

This ticket was held up by a related ticket to not always create the reverse zone when setting up DNS, https://fedorahosted.org/freeipa/ticket/418

How about using --force option to override missing reverse zone? It is already used as an override for situation when host is not in DNS, so I'm not sure if it's convenient to extend its usage this way.

--force should be used for extraordinary cases.
The case where you do not control the inverse can be quite ordinary so the admin would basically end up forcing everything therefore missing all the other checks --force ignores.

I think at most you can decide to warn that the inverse could not be set although then we probably need also a --no-reverse option to suppress that as it can get annoying really quick.

Metadata Update from @rcritten:
- Issue assigned to jzeleny
- Issue set to the milestone: FreeIPA 2.0 - 2010/12 (FC)

7 years ago

Login to comment on this ticket.

Metadata