Bug 11777 - Need an option to remove a DNS hostname from AD server in 'net ads dns' command.
Summary: Need an option to remove a DNS hostname from AD server in 'net ads dns' command.
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.3.5
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-08 02:02 UTC by Shyam Rathi
Modified: 2019-06-24 09:47 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>
Comment 2 Amit Kumar 2019-06-24 07:52:53 UTC
Looks Patch is present in samba-4.10.4.
Can we RESOLVED/FIXED?