[Dnsmasq-discuss] BUG: uncaught dhcp-host syntax error DCHP works DNS lookup does not

Simon Kelley simon at thekelleys.org.uk
Wed Oct 20 20:40:07 BST 2010


Frederick C. Damen wrote:
> if a period(.) is used as a separator between the mac address and the 
> DNS host name in the dhcp-host config file
> 
> dhcp-host=00:e0:61:06:1d:b3.jonathan,      192.168.0.64, 12h
> 
> DHCP works (albeit no name assigned)
> 
> Oct 10 06:33:33 damen dnsmasq-dhcp[6705]: DHCPREQUEST(eth0) 192.168.0.64 
> 00:e0:61:06:1d:b3
> Oct 10 06:33:33 damen dnsmasq-dhcp[6705]: DHCPACK(eth0) 192.168.0.64 
> 00:e0:61:06:1d:b3
> 
> 
> but DNS lookup does not
> 

> Changing the period(.) to a comma(,) fixes the problem.
> 
> though you might want to know,

Thanks for that. I've tightened up the error checking,

http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.56test11.tar.gz

will now complain bitterly when fed that option.


Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list