s4:samba_dnsupdate: cache the already registered records
commit0301b53973278b05296afc5f395d690d39ab232d
authorStefan Metzmacher <metze@samba.org>
Mon, 28 Apr 2014 06:29:40 +0000 (28 08:29 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Sep 2014 05:49:09 +0000 (8 07:49 +0200)
treeef43f6891b277c4e60bea38efd994bb26b3d4b25
parentf8b7027ff0efc84d918a540ccc87bd3888ee63e1
s4:samba_dnsupdate: cache the already registered records

This way we can delete records which are not used anymore.

E.g. if the ip address changed.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9831

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 25ec8e8656f66fe51a0d48718cdcfd8b209f6ca0)
selftest/target/Samba3.pm
source4/dsdb/dns/dns_update.c
source4/scripting/bin/samba_dnsupdate