[Dnsmasq-discuss] Wrong hostname in DHCP answer if FQDN in /etc/hosts

Simon Kelley simon at thekelleys.org.uk
Tue May 8 21:54:13 BST 2007


Michael Heimpold wrote:
> Hi,
> 
> 
>>Final question: does you /etc/ethers file have IP addresses, bare
>>hostnames, or FQDNs? I think that the key to understanding the bug is
>>there.
> 
> 
> For case 1: the bare hostname,
> for case 2: the FQDN.
> 

OK, that's the bug. As a workaround, I think you can swap your 
/etc/hosts to have FQDN first, but leave /etc/ethers with just the bare 
hostname.

I'll try and do a fix in the next day or two.


Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list