[Dnsmasq-discuss] Remembering DHCP Assignments

Freddie Witherden freddie at witherden.org
Mon Jul 18 18:00:42 BST 2011

On 17/07/11 23:30, Ed W wrote:
> Additionally, I failed to realise that you can put the "dhcp-hostsfile="
> line in your conf file (to avoid potentially hacking a distro supplied
> init file).  I personally find this option more useful than /etc/ethers...
> And yes it does work nicely in practice.  In fact on my Mac, leaving
> both adaptors live with the same IP address, mostly seems to work as you
> might desire. It does seem to occasionally flip flop between adaptors
> and on reflection I never thought to check that I'm not flooding the
> network with spurious arp replies...  Obviously you are meant to disable
> one of the adaptors...

Indeed, in some respects it /appears/ to be superior to /etc/hosts and
/etc/ethers.  With a hostfile type solution the names of systems are
always resolved irrespective of if they are online or not (obviously!).
 With the dhcp-hostsfile solution hosts which are not connected to the
network do not resolve.  Many programs will wait several seconds before
concluding that a host is down, however, a failed DNS resolution
normally results in an instant error.

Regards, Freddie.

More information about the Dnsmasq-discuss mailing list