dns: dns record scavenging function (without task)
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Fri, 1 Jun 2018 04:07:46 +0000 (16:07 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Jul 2018 02:31:55 +0000 (04:31 +0200)
commit50d961c1a2de87067606897b794a47c80513bb64
treea5a4e5102272594ff277ed6f2bae093cd022e811
parent6bd2f82b9ff7629effe8280ab8f6bf9d721cf767
dns: dns record scavenging function (without task)

DNS record scavenging function with testing.  The logic of the custom match rule
in previous commit is inverted so that calculations using zone properties can
be taken out of the function's inner loop. Periodic task to come.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10812

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dns.py
selftest/knownfail.d/dns-scavenging
source4/dsdb/kcc/kcc_service.h
source4/dsdb/kcc/scavenge_dns_records.c [new file with mode: 0644]
source4/dsdb/kcc/scavenge_dns_records.h [new file with mode: 0644]
source4/dsdb/pydsdb.c
source4/dsdb/wscript_build
source4/rpc_server/dnsserver/dnsdb.c