localhost or LAN addresses in /etc/hosts

Derek Broughton news at pointerstop.ca
Tue Dec 16 13:07:30 UTC 2008


H.S. wrote:

> Chris G wrote:
> 
>>>
>> How is that any easier than simply giving the printer a static IP?  I
>> have to faff about in the router's configuration to tell it to
>> associate the MAC addres with the printer, that's just *another*
>> place
>> I have to do things.  I'm using dnsmasq to try and minimise that sort
>> of hassle.
> 
> dnsmasq has exactly similar functionality. I specify the mac addresses
> in dnsmasq and their associated names. I can additionally tell dnsmasq
> what IP to give to a specific mac. dnsmasq.conf is the only place I
> have to do this, one line per machine.

I thought as much, but it's a _very_ long time since I had a dnsmasq 
installation.  All the more reason not to rely on using /etc/hosts on 
the dnsmasq machine.
--  
derek





More information about the ubuntu-users mailing list