Re: Configuring dhcp3 to send hostname mappings to clients
On 23/03/2008, Reid Priedhorsky <reid@reidster.net> wrote:
> Dear all,
>
> My /etc/hosts contains a handful of mappings useful on my internal subnet:
>
> 10.0.0.2 reidster.net reidster
> 10.0.0.4 convex.reidster.net convex
> 10.0.0.4 toys.reidster.net toys.reidster
> 10.0.0.4 yabman.reidster.net yabman
>
> The same box is also a DHCP server, using dhcp3 for a couple of laptops
> which are transient on the network. I would like to pass the mappings
> above on to the laptops using dhcp3. Is this possible?
I don't think it is.
What I would do is install a DNS server (eg bind9), and in
/etc/dhcpd.conf put a line like:
option domain-name-servers 10.0.0.4;
and then configure the bind to serve the mappings you want.
(you'll need seperate files for reverse mappings)
Reply to: