[Dnsmasq-discuss] Dnsmasq is not sending the hostname to the client.
james.meyer at operamail.com
Mon Jul 27 02:34:22 BST 2009
On Sunday 26 July 2009, Simon Kelley wrote:
> james meyer wrote:
> > Hello,
> > I am attempting to make dnsmasq send hostnames to a dhcp client when it
> > a request. While working the Roy of dhcpcd fame we discovered that
> > doesn't send the hostname when the dhcp client sends a hostname to the
> > server. Howerver the the client doesn't send a hostname then dnsmasq will
> > respond with the correct hostname as defined in the dnsmasq.conf.
> > I have run into a situation where I always want to know the hostname from
> > dnsmasq regardless of what the client is going to do with it. Is there a
> > setting within the dnsmasq.conf file to enable this ability?
> > -james
> > _______________________________________________
> > Dnsmasq-discuss mailing list
> > Dnsmasq-discuss at lists.thekelleys.org.uk
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> I think the dhcp-ignore-names does what you want.
I tried adding the dhcp-ignore-names option as you suggested, but it didn't
make a difference.
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.
More information about the Dnsmasq-discuss