The Samba-Bugzilla – Bug 11777
Need an option to remove a DNS hostname from AD server in 'net ads dns' command.
Last modified: 2016-03-08 14:02:28 UTC
At present, there is no option in command 'net ads dns' to revert the outcome of 'register' option. So, there is not a way to remove a DNS host from an AD server.
I've prepared a patch to add 'unregister' option to this command.
Created attachment 11903 [details]
'unregister' option in 'net ads dns' command
Add a new option in 'net ads dns' command to remove a DNS host from an AD server.
net ads dns unregister -U<user>%<password> -d 0 <host_to_remove>