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. Example: net ads dns unregister -U<user>%<password> -d 0 <host_to_remove>
Looks Patch is present in samba-4.10.4. Can we RESOLVED/FIXED?