[Dnsmasq-discuss] client name via DHCP
Michael Rack
michael.rack at rsm-freilassing.de
Fri Feb 11 14:51:37 GMT 2011
With log-dhcp enabled, it will also work fine for me.
But i think, that the dhcp-script solution is more powerful :)
Liebe Grüße aus Freilassing,
Michael Rack
RSM Freilassing
--
RSM Freilassing Tel.: +49 8654 607110
Nocksteinstr. 13 Fax.: +49 8654 670438
D-83395 Freilassing www.rsm-freilassing.de
On 11.02.2011 14:20, Carlos Carvalho wrote:
> Helmut Hullen (Hullen at t-online.de) wrote on 11 February 2011 11:23:
> >>>>>>> when I use the ISC DHCP, then I can see the name of the Windows
> >>>>>>> client in "/var/state/dhcp/dhcp.leases".
> >>>>>>>
> >>>>>>> With dnsmasq as DNS and DHCP server I haven't found this feature
> >>>>>>> - is it somewhere hidden?
> [...]
> >I'd be pleased if/when "dnsmasq" tells the client's hostname at least in
> >one of its log messages.
>
> It does for me, with log-dhcp set:
>
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 DHCPDISCOVER(eth0.114) ...
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 DHCPOFFER(eth0.114) ...
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 requested options: 1:netmask, 15:domain-name, 3:router, 6:dns-server,
> ...
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 tags: ...
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 next server: ...
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 broadcast response
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 sent size: 1 option: 53:message-type 02
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 sent size: 4 option: 54:...
> Feb 11 08:36:56 dnsmasq-dhcp[897]: 2634092356 sent size: 4 option: 51:...
> ...
> Feb 11 08:36:59 dnsmasq-dhcp[897]: 2634092356 client provides name: XXX
> *************************
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list