Subject: bin/23284: DDNS updates broken in dhcpd(8)
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 10/27/2003 11:30:09
>Number:         23284
>Category:       bin
>Synopsis:       DDNS updates broken in dhcpd(8)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 27 10:31:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE (2003-10-27 sources)
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6.1_STABLE NetBSD 1.6.1_STABLE (COLWYN) #0: Thu Oct 2 15:15:00 CEST 2003 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
After upgrading to the latest ISC-DHCP version in the NetBSD 1.6 branch
the DHCP daemon won't start any more on my NetBSD 1.6.1_STABLE system:

Internet Software Consortium DHCP Server V3.0.1rc11
Copyright 1995-2003 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
old name service update routine line 11: illegal expression relating different types
    if (defined (ddns-fwd-name) and ddns-fwd-name !=
                                                  ^
can't parse standard ddns updater!

[...]

exiting.

The above line is *not* in my configuration but in the source file
"src/dist/dhcp/server/dhcpd.c".

Here are relevant parts from my "dhcpd.conf":

ddns-update-style ad-hoc;
ddns-updates on;
ddns-domainname "zhadum.de";
ddns-rev-domainname "in-addr.arpa";
include "/etc/dns.keys";

I've I remove the DDNS configuration statements the server starts fine.

>How-To-Repeat:
Start "dhcpd".

>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: