[Dnsmasq-discuss] Is there a way to return names for DHCP clients?
Grant Coady
grant_lkml at dodo.com.au
Sat Aug 23 18:26:54 BST 2008
On Sat, 23 Aug 2008 09:04:18 -0400, "B. Cook" <bcook at poughkeepsieschools.org> wrote:
>Depending on your version of Linux, your dhclient might not send it's
>name when it asks for a lease.
I think what I did wrong was to leave this client option blank during
setup ;)
>
>You could take it's mac address and assign it a name as well.
>
>so:
>dhcp-host=00:11:22:33:44:55,sharkey
Not for a casual machine -- the box is already back with its owner.
>not sure what linux you have, but there is an excellent
>dnsmasq.conf.example that is heavily documented and has tons of great
>examples (hence the name)
Yeah, time to look at that again, been using dnsmasq for ~ four years
>
>You might also set these things in your .conf as well and then you can
>see what is going on in the dhcp 'process' (to some degree)
>log-facility=/var/log/dnsmasq.log
>log-dhcp
>no-negcache
Okay, thanks,
Grant.
More information about the Dnsmasq-discuss
mailing list