s4:samba_dnsupdate: cache the already registered records
commit25ec8e8656f66fe51a0d48718cdcfd8b209f6ca0
authorStefan Metzmacher <metze@samba.org>
Mon, 28 Apr 2014 06:29:40 +0000 (28 08:29 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Aug 2014 07:13:06 +0000 (26 09:13 +0200)
treeb1e88a2cdcc7031f48e0b2e251c2cf1b629eab5c
parent6e853708def98545eeb6913b8a2dd59d439323e6
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>
selftest/target/Samba3.pm
source4/dsdb/dns/dns_update.c
source4/scripting/bin/samba_dnsupdate