Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2006 19:43:39 -0600
From:      Tim Daneliuk <>
Subject:   Dynamic Hostname Assignment With dhcpd
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
I am running isc-dhcp3-server-3.0.4_1 on a FBSD 4.11-stable machine.

I have defined a pool of addresses to be used for dhcp address assignment
and configured them correctly in DNS.  Forwards and reverses resolve

All this seems to work just fine.  You can plug a host into the network
and it will be properly configured for everything *except* the hostname.

(At the moment, I am limiting myself to a FBSD 6.1 (PC-BSD) machine for
testing, but the issue is known to exist on WinXP and other Unices as well.)

After digging around for a couple of hours, I still cannot seem to find
the necessary magic. So ...

Just how do I get a dhcp configured client to pickup the proper hostname
(so that reverses will work properly)? I removed the "hostname=..."
statement from /etc/rc.conf and rebooted the client. When I look at the
kernel environment (with 'kenv') I see no values beginning with

Do I need to do something in the server configuration?  Here is the
configuration at the moment:

ddns-update-style ad-hoc;

option domain-name "";
option domain-name-servers;
option routers;

subnet netmask {

Tim Daneliuk
PGP Key:

Want to link to this message? Use this URL: <>