[Dnsmasq-discuss] question on tftp service
Simon Kelley
simon at thekelleys.org.uk
Tue Jan 30 13:36:26 GMT 2007
Carlos Carvalho wrote:
> Simon Kelley (simon at thekelleys.org.uk) wrote on 29 January 2007 12:10:
> >Carlos Carvalho wrote:
> >> I tried the tftp service and got this in the log:
> >>
> >> dnsmasq[26150]: DHCPDISCOVER(eth0.58) 00:11:2f:84:22:cc
> >> dnsmasq[26150]: DHCPOFFER(eth0.58) 192.168.58.146 00:11:2f:84:22:cc
> >> dnsmasq[26150]: DHCPREQUEST(eth0.58) 192.168.58.146 00:11:2f:84:22:cc
> >> dnsmasq[26150]: Ignoring DHCP host name ankarana.fisica.ufpr.br because it has an illegal domain part
> >> ???
> >
> >As far as I can see, you will only get that message if the client sends
> >the FQDN in the DHCPREQUEST. My guess is that
> >DHCPOFFER is sending ankarana.fisica.ufpr.br in the hostname or FQDN
> >option and the client is echoing this back. There's not check that a
> >hostname matches the hosts-file, just that if it has a domain part, it
> >must match the domain given in the dnsmasq "domain=" config. You can
> >safely ignore this, but I might try and fix the problem for the next
> >release. BTW do you have a domain set in the dnsmasq config, and if so
> >what is it?
>
> There's no domain= setting. There was but I removed it to save space
> in the packet. It's sent as dhcp-option only to the machines that
> support a larger packet size. This one might support it but it's a
> terminal and doesn't need it so it's not sent (if I understand how
> dnsmasq works).
You presumably have
192.168.58.146 ankarana.fisica.ufpr.br
or
192.168.58.146 ankarana.fisica.ufpr.br ankarana
in /etc/hosts.
Which is making dnsmasq send ankarana.fisica.ufpr.br to the terminal as
its hostname. If you care you could change that to
192.168.58.146 ankarana ankarana.fisica.ufpr.br
Cheers,
Simon.
>
> _______________________________________________
> 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