[Dnsmasq-discuss] hostnames dhcp-client (debian squeeze)

richardvoigt at gmail.com richardvoigt at gmail.com
Thu Feb 10 16:12:39 GMT 2011


Yes dnsmasq can provide a hostname, if the client is configured to request
it.

Are you able to capture the DHCP traffic with wireshark (or some other
packet sniffer) and see whether the hostname option is present in the
response?

On Thu, Feb 10, 2011 at 5:40 AM, <go4unkwn at hushmail.com> wrote:

> Hello all
>
> I have a small home network with a linksys routers using the
> firmware dd-wrt.
> I use dnsmasq as a dhcp/dns server. And till now I thought that
> dnsmasq can distribute IP's and hostnames using the mac-address
> from the clients.
>
> But now I am unconfident, because I try to set up a QNAP TS-110
> (using debian squeeze as operating system) and I am not able to
> configure the QNAP to gets its hostname from the router (dd-wrt,
> dnsmasq).
>
> In my dnsmasq.conf I use
> ...
> domain=foo.home
> dhcp-authoritative
> dhcp-host=00:08:9b:dd:ee:ff,qnap-ts110,192.168.xxx.yyy,infinite
> ...
>
> On my Debian6-QNAP i use the default /etc/dhcp/dhclient.conf
> ...
> request subnet-mask, broadcast-address, time-offset, routers,
>        domain-name, domain-name-servers, domain-search, host-name,
> ...
>
> Is dnsmasq able to deliver hostnames to dhcp-clients?
> Please do not misunderstand me. I won't be rude,
> but I will locate the source of error.
>
> Kind regards, Roland
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20110210/a4a26a6b/attachment.htm 


More information about the Dnsmasq-discuss mailing list