samba-tool: add dns cleanup cmd
authorJoe Guo <joeg@catalyst.net.nz>
Fri, 12 Jan 2018 01:14:00 +0000 (14:14 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Feb 2018 03:58:10 +0000 (04:58 +0100)
commit178f86848d15b0a1b59e8a4535649f264a0d12c4
tree0ce33aae554e6609fba224c4aeef50c0f6e919f7
parentc4bb546b21b7ddce5b6f0d023b35c62c98a71d65
samba-tool: add dns cleanup cmd

1. Add new command to cleanup dns records for a dns host name
2. Add test to verify the command is working

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/netcmd/dns.py
python/samba/tests/samba_tool/dnscmd.py