Bug 11777 - Need an option to remove a DNS hostname from AD server in 'net ads dns' command.
Need an option to remove a DNS hostname from AD server in 'net ads dns' command.
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools
4.3.5
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-08 02:02 UTC by Shyam Rathi
Modified: 2016-03-08 14:02 UTC (History)
1 user (show)

See Also:


Attachments
'unregister' option in 'net ads dns' command (6.77 KB, application/mbox)
2016-03-08 02:04 UTC, Shyam Rathi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shyam Rathi 2016-03-08 02:02:09 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.
Comment 1 Shyam Rathi 2016-03-08 02:04:28 UTC
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>