[Samba] Error message dns
Rowland Penny
rpenny at samba.org
Tue Mar 28 11:08:29 UTC 2023
On 28/03/2023 10:37, Philip Offermans via samba wrote:
> [2023/03/28 11:32:15.524325, 0] ../../lib/util/util_runcmd.c:352(samba_runcmd_io_handler)
>
> /usr/sbin/samba_dnsupdate: ERROR: Record already exist; record could not be added. zone[starmans.lan] name[nobel]
>
> dnsupdate_nameupdate_done: Failed DNS update with exit code 29
>
> My /var/log/samba/log.samba is filled with these messages. It says that samba_dnsupdate tries to add records that already excist in dns. But how can I tell samba_dnsupdate to stop trying to add these records? Or is there another solutions to fix these errors
>
> Philip Offermans
>
This is happening because every 10 minutes the samba_dnsupdate script is
being run, which uses a file called dns_update_list to try and add a
list of records, these records need to exist. However, you are getting
an error that isn't an error, how can trying to add something that must
exist be an error because it already exists ?
I 'think' the update command needs to be wrapped in a 'try' that fails
silently if the error is that the record already exists.
Rowland
More information about the samba
mailing list