[Samba] DHCP-DNS add failed

Daniel Jordan d.jordan at gfd.de
Fri Aug 26 11:43:17 UTC 2022


Hi Rowland,

thanks for the information, that did the trick. We had several hosts 
with more than one A Record
in our DNS.

Best regards
Daniel



Am 25.08.2022 um 11:19 schrieb Rowland Penny via samba:
> On Thu, 2022-08-25 at 10:21 +0200, Daniel Jordan via samba wrote:
>> Hello,
>>
>> we get the following output in the logfile for dhcp. Could someone
>> please the marked error messages and the exit status 256?
>>
>>
>> Aug 25 09:58:28 addc02 dhcpd[7367]: Commit: IP: 192.168.93.9 DHCID:
>> cc:48:xx:xx:xx:xx Name: EK-02
>> Aug 25 09:58:28 addc02 dhcpd[7367]: execute_statement argv[0] =
>> /usr/local/bin/dhcp-dyndns.sh
>> Aug 25 09:58:28 addc02 dhcpd[7367]: execute_statement argv[1] = add
>> Aug 25 09:58:28 addc02 dhcpd[7367]: execute_statement argv[2] =
>> 192.168.93.9
>> Aug 25 09:58:28 addc02 dhcpd[7367]: execute_statement argv[3] =
>> cc:48:xx:xx:xx:xx
>> Aug 25 09:58:28 addc02 dhcpd[7367]: execute_statement argv[4] = EK-02
>> Aug 25 09:58:29 addc02 root: 'A' record changed, updating record.
>> Aug 25 09:58:30 addc02 root: DHCP-DNS add succeeded
>> Aug 25 09:58:30 addc02 dhcpd[7367]: DHCPREQUEST for 192.168.93.9
>> from
>> cc:48:xx:xx:xx:xx (EK-02) via eth0
>> Aug 25 09:58:30 addc02 dhcpd[7367]: DHCPACK on 192.168.93.9 to
>> cc:48:xx:xx:xx:xx (EK-02) via eth0
>> Aug 25 09:58:30 addc02 dhcpd[7367]: Commit: IP: 192.168.93.10 DHCID:
>> cc:48:xx:xx:xx:xx Name: EK-04
>> Aug 25 09:58:30 addc02 dhcpd[7367]: execute_statement argv[0] =
>> /usr/local/bin/dhcp-dyndns.sh
>> Aug 25 09:58:30 addc02 dhcpd[7367]: execute_statement argv[1] = add
>> Aug 25 09:58:30 addc02 dhcpd[7367]: execute_statement argv[2] =
>> 192.168.93.10
>> Aug 25 09:58:30 addc02 dhcpd[7367]: execute_statement argv[3] =
>> cc:48:xx:xx:xx:xx
>> Aug 25 09:58:30 addc02 dhcpd[7367]: execute_statement argv[4] = EK-04
>> Aug 25 09:58:30 addc02 named[447]: resolver priming query complete
>> *Aug 25 09:58:31 addc02 root: 'A' record changed, updating record.**
>> **Aug 25 09:58:31 addc02 root: DHCP-DNS add failed: 255:0:0:0**
>> **Aug 25 09:58:31 addc02 dhcpd[7367]: execute:
>> /usr/local/bin/dhcp-dyndns.sh exit status 256*
>> Aug 25 09:58:31 addc02 dhcpd[7367]: DHCPREQUEST for 192.168.93.10
>> from
>> cc:48:xx:xx:xx:xx (EK-04) via eth0
>> Aug 25 09:58:32 addc02 dhcpd[7367]: DHCPACK on 192.168.93.10 to
>> cc:48:xx:xx:xx:xx (EK-04) via eth0
>>
>> Thanks in advance
>> Daniel
> First thought is, while your computers are asking for the ipaddress
> they already seem to have, it looks like they have more than one IP and
> it is failing on the deletion of the A records.
>
> Can you check if your clients do have multiple A records ?
>
> Rowland
>
>
>

-- 
Mit freundlichen Grüßen/Best regards

Daniel Jordan
IT-Administration

GFD GmbH
Flugplatz Hohn
24806 Hohn

Tel.: + 49 (0) 4335 9202 58
Fax: + 49 (0) 4335 9202 15
d.jordan at gfd.de
www.gfd.de

Sitz der Gesellschaft Hohn
Handelsregister Kiel HRB 908 RD
Geschäftsführung: Thore von Scheffer


More information about the samba mailing list