netcmd/domain: remove dns records after DC demote
authorJoe Guo <joeg@catalyst.net.nz>
Tue, 5 Jun 2018 22:38:11 +0000 (10:38 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 6 Jun 2018 23:46:25 +0000 (01:46 +0200)
commit00494a65102de10880950e307731a7cbd8cb2827
tree9c0266317aae4f37e10262d2de0fd001f378bb08
parentab28a64f5e7f8cd6114350f2577e7e6a768fb11c
netcmd/domain: remove dns records after DC demote

Call `remove_dc.remove_dns_references()` at the end of demote cmd.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/netcmd/domain.py