Hello Rawland,
Thank you for your reply.
We manage other zones other than the ad zone. These zones are stored in our AD
(ldap). To do this, we have set up the named-sdb service which listens on
127.0.0.2. Samba AD forwards all DNS requests that do not match the AD domain
zone to named-sdb.
The problem is that these log errors only occur at 00:00:00 every day.
Best Regards,
__________________________
kamal Chikh Echioukh
________________________________
De : samba <samba-bounces at lists.samba.org> de la part de Rowland Penny
via samba <samba at lists.samba.org>
Envoy? : vendredi, 22 mars 2024 16:14
? : samba at lists.samba.org <samba at lists.samba.org>
Cc : Rowland Penny <rpenny at samba.org>
Objet : Re: [Samba] Samba errors everyday at 00:00:00
On Fri, 22 Mar 2024 14:45:31 +0000
Kamal Chikh echioukh via samba <samba at lists.samba.org> wrote:
> Hello,
>
> I have errors like below every day at midnight. Anyone have an idea?
>
> samba4 AD version : 4.18.11
> OS : Rocky Linux 8.9
>
> Mar 18 00:00:00 <dc> samba[1253835]: [2024/03/18 00:00:00.114303, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.114530, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.118003, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.118181, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.146699, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.146871, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.147010, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.147146, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.147280, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR Mar 18 00:00:00 <dc>
> samba[1253835]: [2024/03/18 00:00:00.147439, 1]
>
../../source4/dns_server/dns_query.c:1141(dns_server_process_query_got_auth)
> Mar 18 00:00:00 <dc> samba[1253835]:
> dns_server_process_query_got_auth: Failed to add SOA record:
> WERR_DNS_ERROR_RCODE_FORMAT_ERROR
>
> my dns forward = 127.0.0.2 where named-sdb is listening.
>
What is stored in your 'named-sdb' ?
Most users would use an external dns server (such as googles 8.8.8.8)
for anything outside the AD dns domain.
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba