[Samba] Inconsistent DNS after crash

Rowland Penny rpenny at samba.org
Thu Jan 17 15:22:36 UTC 2019


On Thu, 17 Jan 2019 16:00:45 +0100
basti via samba <samba at lists.samba.org> wrote:

> Hello,
> I have destroy my DNS Setup. So I have recover my dc1 from Backup.
> Now DNS is Inconsistent.

Rule 1, if you have another running DC, do not recover a DC from a
backup.
> 
> samba-tool dns add 192.168.30.2 example.com mail-001 A 192.168.30.14
> -U administrator
> 
> ERROR(runtime): uncaught exception - (9711,
> 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
> 
> samba-tool dns delete 192.168.30.2 example.com mail-001 A
> 192.168.30.14 -U administrator
> ERROR: Record does not exist
> 

Your best plan now would be to upgrade to the internal dns server with
samba_upgradedns and then upgrade again to Bind9. This should reset
your dns.

Of course, it goes without saying, test this first on a clone.

Rowland



More information about the samba mailing list