[Samba] DNS update fails after samba domain controller is restarted
Rowland Penny
rpenny at samba.org
Fri Dec 6 09:03:11 UTC 2024
On Fri, 6 Dec 2024 07:18:32 +0000
"Hoefle, Marco \(Avnet Silica\) via samba" <samba at lists.samba.org>
wrote:
> Hello,
> first, after provisioning everything looks ok.
> After a restart the samba server wants to update internal DNS records
> and this fails:
>
> samba | /usr/sbin/samba_dnsupdate: ERROR(runtime): Record
> already exists; record could not be added. zone[fffff.yyy]
> name[_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones]
> [WERR_DNS_ERROR_RECORD_ALREADY_EXISTS] - (9711,
> 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
Ah, the good old 'when is an error not an error' question ;-)
How can trying to 'ADD' an 'EXISTING' dns record be an error ?
Well okay, it technically is an error, the error being you are trying
to add a record that already exists. What it should do is print
something like 'record already exists' and move onto the next one, not
throw an error.
If it was a failed 'MODIFY', I could understand it failing and throwing
an error.
Rowland
More information about the samba
mailing list