12 Dec
2008
12 Dec
'08
8:41 p.m.
Having got dnsmasq working somewhate better (thank you Brett!) I now need some advice on what to put in /etc/hosts on the machine that is running dnsmasq. The machine's name on the local LAN is "isbd", to the outside world it is known as "home.isbd.net". It has a static IP address on the local LAN of 192.168.1.4. "As built" ubuntu puts "isbd" in the /etc/hosts file as follows:- 127.0.1.1 isbd However I need dnsmasq to tell other machines on the LAN that "isbd" is 192.168.1.4. Do I just remove the above line and add:- 192.168.1.4 isbd Is the "127.0.1.1 isbd" only necessary when isbd's address is obtained using DHCP and thus not fixed so it needs to point at localhost? -- Chris Green