[Samba] Remove Redundant DCs internal DNS

Andrew Bartlett abartlet at samba.org
Thu May 31 17:44:07 UTC 2018

On Thu, 2018-05-31 at 11:14 +0100, Rowland Penny via samba wrote:
> Well, you could have run this on a DC:
> samba-tool dns --help
> and from the output, you could have thought about running this:
> samba-tool dns delete --help
> Which would have got you this:
> Usage: samba-tool dns delete <server> <zone> <name> <A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>
> So using your data:
> samba-tool dns delete mydomain.com @ A
> Rowland

And in master for Samba 4.9 there is a new command 'samba-tool dns
cleanup' that will help with this.  

So there is also an easier option in the long term.  Plus we will make
the online demote clean up the extra records.

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list