Subject: bin/32192: dhcpd get-lease-hostnames
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Edgar Fuß <efnbp05@bn2.maus.net>
List: netbsd-bugs
Date: 11/29/2005 16:05:00
>Number: 32192
>Category: bin
>Synopsis: get-lease-hostnames option in dhcpd doesn't work
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 29 16:05:00 +0000 2005
>Originator: support@math.uni-bonn.de
>Release: NetBSD 2.0.2
>Organization:
Universität Bonn, Mathematisches Institut, Computerabteilung
>Environment:
System: irrelevant (i386, amd64 at work, sparc, sparc64 at home)
Architecture: all
Machine: all
>Description:
Using the get-lease-hostnames option in dhcpd.conf doesn't make dhcpd
use the DNS hostname as the DHCP hostname given to the client.
>How-To-Repeat:
Write use-host-decl-names off; get-lease-hostnames on; in dhcpd.conf.
Make a client obtain a lease.
Inspect the client's hostname.
Insect DHCP source.
>Fix:
/usr/src/dist/dhcp/server/dhcp.c:2492
Change server_universe to dhcp_iniverse.