Add ability to add/remove DNS records when adding/removing a host entry.

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


Attachment: freeipa-583-host.patch
Description: application/mbox

Freeipa-devel mailing list

Reply via email to