Web lists-archives.com

Re: [Samba] Remove Redundant DCs internal DNS




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 127.0.0.1 mydomain.com @ A 192.168.0.208
> 
> 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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba