[Freeipa-devel] [PATCH] 089 Add DNS record modification command

Martin Kosek mkosek at redhat.com
Tue Jul 12 16:21:54 UTC 2011


Due to DNS plugin architecture --setattr and --addattr options are not
available. DNS plugin does things in its own way and is based on
LDAPQuery base class which cannot use --setattr and --addattr options.

Hopefully the WebUI will be able to deal with it.

---

The DNS record plugin does not support modification of a record. One
can only add A type addresses to a DNS record or remove the current
ones. To actually change a DNS record value it has to be removed and
then added with a desired value.

This patch adds a new DNS plugin command "dnsrecord-mod" which enables
user to:
 - modify a DNS record value (note than DNS record can hold multiple values
   and those will be overwritten)
 - remove a DNS record when an empty value is passed

New tests for this new command have been added to the CLI test suite.

https://fedorahosted.org/freeipa/ticket/1137

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-089-add-dns-record-modification-command.patch
Type: text/x-patch
Size: 16640 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110712/2c7f312a/attachment.bin>


More information about the Freeipa-devel mailing list