[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=192.168.1.101,192.168.1.250,255.255.255.0,10080m
> dhcp-option=3,192.168.1.1
> dhcp-lease-max=255
> dhcp-authoritative
> dhcp-host=00:E0:81:B3:12:FA,192.168.1.5,10080m
> dhcp-host=00:1F:C6:09:BF:2F,192.168.1.101,10080m
> dhcp-host=00:14:FD:12:50:54,192.168.1.114,10080m
> local=/lan/
> domain=lan
> dhcp-option=6,192.168.1.1
> dhcp-ignore-names=00:0C:29:CF:02:FC
> dhcp-host=00:0C:29:CF:02:FC,192.168.1.206,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