On Wed, 20 Oct 2010 10:26:08 -0400
Rob Crittenden <rcrit...@redhat.com> wrote:
> Add ability to add/remove DNS records when adding/removing a host
> A host in DNS must have an IP address so a valid IP address is
> required when adding a host. The --force flag will be needed too
> since you are adding a host that isn't in DNS.
> For IPv4 it will create an A and a PTR DNS record.
> IPv6 isn't quite supported yet. Some basic work in the DNS installer
> is needed to get this working. Once the get_reverse_zone() returns
> the right value then this should start working and create an AAAA
> record and the appropriate reverse entry.
> When deleting a host with the --updatedns flag it will try to remove
> all records it can find in the zone for this host.
> ticket 238
NACK, this patch introduces a bug when trying to add the same host
multiple time with different ip address.
The second time the ipa host-ad will correctly return an error that the
host already exist yet the A record with the new address is added in
DNS. Adding records to the DNS should happen only after the host has
been successfully created.
Simo Sorce * Red Hat, Inc * New York
Freeipa-devel mailing list