[Dnsmasq-discuss] Automatic DHCP client naming

Ferenc Wagner wferi at niif.hu
Fri Apr 16 14:43:08 BST 2010


Hi,

Is there any way in dnsmasq to push a hostname to a DHCP client even if
it didn't report (or ask for) one?  I'd like to automatically name my
clients based on their MAC addresses, like 00:11:22:33:44:55 should get
the hostname 00-11-22-33-44-55.domain.tld.  Currently, I can get this
effect only if the client sends its hostname in the DHCP request; then
dnsmasq adds the correct domain, registers the name in its DNS database
and sends back the fully qualified address.  Good.  But I'd like to
avoid generating the hostname on the clients before starting DHCP.
-- 
Thanks,
Feri.



More information about the Dnsmasq-discuss mailing list