[Dnsmasq-discuss] Dnsmasq is not sending the hostname to the client.

richardvoigt at gmail.com richardvoigt at gmail.com
Mon Jul 27 08:18:22 BST 2009

> Simon,
> I tried adding the dhcp-ignore-names  option as you suggested, but it didn't
> make a difference.

I don't think that dhcp-ignore-names matches against a MAC address as
you've tried to do, it uses a "network-id" instead (although the
dhcp-host line can map between them).  Have you tried ignoring all
names first to see if it has the desired effect?  Then you can
restrict it if needed after you know whether it works.

> Running dhcpcd -Td eth0 doesn't print any suggested hostnames from dnsmasq,
> unless I tell the client to not send a hostname.
> Is it desired behaviour to only send the client a hostname under certain
> conditions?  It would really help me out if it always sent it, and then let
> the client decide what to do with it.
> -james
> dnsmasq.conf:
> interface=br0
> resolv-file=/etc/resolv.dnsmasq
> addn-hosts=/etc/hosts.dnsmasq
> expand-hosts
> min-port=4096
> dhcp-range=,,,10080m
> dhcp-option=3,
> dhcp-lease-max=255
> dhcp-authoritative
> dhcp-host=00:E0:81:B3:12:FA,,10080m
> dhcp-host=00:1F:C6:09:BF:2F,,10080m
> dhcp-host=00:14:FD:12:50:54,,10080m
> local=/lan/
> domain=lan
> dhcp-option=6,
> dhcp-ignore-names=00:0C:29:CF:02:FC
> dhcp-host=00:0C:29:CF:02:FC,,fred
> _______________________________________________
> 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