[Freeipa-devel] [PATCH] 039 Delete the whole DNS record with no parameters

Jakub Hrozek jhrozek at redhat.com
Thu Jan 20 13:02:22 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

as discussed in https://bugzilla.redhat.com/show_bug.cgi?id=671019 to
delete a DNS RR one has to remove its record types one by one.

This patch modifies the behaviour so that if the user runs dnsrecord-del
<zone> <record-name> with no other parameters, the whole record is removed.

Alternative solutions might be to expose the internal command that is
able to delete the record (although I think it is counterintuitive to
have one command to remove record types and one for the whole record) or
have a special flag (--del-all?) to remove the whole record.

The patch also fixes the unit tests as they didn't reflect all the
recent changes.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk04Ml4ACgkQHsardTLnvCWk3wCZAYEuhUBs3dX5RkBiCvsD/Iev
VcgAoJzk5cCgzmhityA56g830wNnkaxE
=f60L
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jhrozek-freeipa-039-dns-record-del.patch
Type: text/x-patch
Size: 6267 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110120/4b50fbd2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jhrozek-freeipa-039-dns-record-del.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110120/4b50fbd2/attachment.sig>


More information about the Freeipa-devel mailing list