[Gllug] dhcp & client-hostname
Jonathan Dye
jonathan.dye at automationpartnership.com
Fri Sep 20 08:27:59 UTC 2002
Hi,
At home I have a box that acts as a dhcp server to my home network. It also
runs dnsmasq as a dna server which reads the dhcpd.leases file and looks for
client-hostname (or an alternative which I forget) entries for local
machines. This works fine with my windows based machiens as they send this
info down with their dhcp requests but my debian 3 box doesn't do the same
so I can't resolve it via dns.
I believe it uses dhclient to get a lease so I had a look at the man page
and I thought that putting
send client-hostname "<hostname>"
in the /etc/dhclient.conf file would make it send the relevant data when
querying the server but it doesn't appear to. Can anyone help me out with
this as I like the way that dnsmasq works and don't want to go back to
static IPs.
JD
--
Jonathan Dye, The Automation Partnership(Cambridge) Ltd
Registered Office: York Way, Royston, Hertfordshire, SG8 5WY, UK
Registered in England, Company No:2823205
http://www.automationpartnership.com
Tel: +44 1763 227 403 Fax: +44 1763 227 201
mailto:jonathan.dye at automationpartnership.com
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list