[PLUG] DHCP, DNS and Hostname

Mark Allyn allyn at well.com
Thu Jun 10 09:38:02 UTC 2004


I think this is what you are looking for:

There is an entry in the dhcpd.conf file:
-------------------------------------------------------------------------
get-lease-hostname

    Directs dhcpd to provide a hostname to each client that is assigned a
dynamic address. Further, the hostname is to be obtained from DNS. This
parameter is a Boolean. If it is set to false, which is the default, the
client receives an address but no hostname. Looking up the hostname for
every possible dynamic address adds substantial time to the startup. Set
this to "false". Only set this to true if the server handles a very small
number of dynamic addresses.
-------------------------------------------------------------------------

You should be able to set this boolean to true, along with setting
up DNS with pre-assigned host names for each DHCP issued IP address.

Something like these entries in the dns files might work:

$GENERATE 50-254 dhcp-$.devel A 192.168.4.$
(in the forward dns file)

and

$GENERATE 50-254 $ PTR dhcp-$.devel.fglan.
(in the reverse dns file)


I hope this helps

Mark Allyn






More information about the PLUG mailing list