[Samba] DHCP-DNS add failed

Rowland Penny rpenny at samba.org
Thu Aug 25 09:19:32 UTC 2022


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





More information about the samba mailing list